Why I am getting error while using terraform validate- An input variable with the name project has not been declared This variable can be declared with a variable project block

0 votes
Oct 24, 2020 in Terraform by sonali
• 120 points

recategorized Oct 27, 2020 by MD 264 views

1 answer to this question.

0 votes
Hi@sonali,

There may be syntax errors in your Terraform code. Check your code properly. If you get the same error, then paste your code here.
answered Oct 27, 2020 by MD
• 95,140 points

Related Questions In Terraform

0 votes
1 answer

How to set an IAM policy for a project in GCP using Terraform?

Hi@akhtar, You can create a policy and give ...READ MORE

answered Sep 13, 2020 in Terraform by akhtar
• 38,180 points
193 views
0 votes
1 answer

How to copy the content of an s3 bucket to another s3 bucket using Terraform?

Hi@akhtar, There is no resource that enables the ...READ MORE

answered Sep 10, 2020 in Terraform by MD
• 95,140 points
1,040 views
0 votes
1 answer

Create a project in GCP using Terraform.

Hi@akhtar, Terraform has a resource named google_project. This ...READ MORE

answered Sep 13, 2020 in Terraform by MD
• 95,140 points
174 views
0 votes
1 answer

'terraform' is not recognized as an internal or external command, operable program or batch file.

Hi@akhtar, You have to set an environment variable ...READ MORE

answered Jun 10, 2020 in Terraform by MD
• 95,140 points
3,055 views
0 votes
1 answer

How to integrate kubernetes with Terraform?

Hi@akhtar, You can use Kubernetes as your Terraform ...READ MORE

answered Jun 16, 2020 in Terraform by MD
• 95,140 points
203 views
0 votes
1 answer

How to connect OpenStack Cloud with Terraform?

Hi@akhtar, To connect any Cloud, Terraform has a ...READ MORE

answered Jul 5, 2020 in OpenStack by MD
• 95,140 points
206 views
+2 votes
1 answer

How to attach an elastic load balancer with ec2 instance using Terraform?

Hi@akhtar, You can use aws_elb_attachment resource in Terraform. ...READ MORE

answered Aug 17, 2020 in Terraform by MD
• 95,140 points
1,046 views