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

0 votes

Hi Guys,

I have installed terraform software in my Windows system. But when I tried to use any command. It is showing me the below error.

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

How can I solve this error?

Jun 10, 2020 in Terraform by akhtar
• 38,260 points
28,897 views

1 answer to this question.

+1 vote

Hi@akhtar,

You have to set an environment variable for terraform in your Windows system. Go to your environment settings and set a path for terraform. It will work.

answered Jun 10, 2020 by MD
• 95,460 points

Related Questions In Terraform

0 votes
1 answer

An argument named "versioning" is not expected here. Did you mean to define a block of type "versioning"?

Hi@akhtar, The error is telling that you need ...READ MORE

answered Dec 1, 2020 in Terraform by MD
• 95,460 points
2,840 views
0 votes
1 answer

How to attach an EBS volume to EC2 instance using terraform?

Hi@akhtar, You can use aws_volume_attachment resource to attach ...READ MORE

answered Jun 12, 2020 in Terraform by MD
• 95,460 points
8,797 views
0 votes
1 answer

How to create one key in AWS using terraform?

Hi@akhtar, You can use aws_key_pair resource n terraform. ...READ MORE

answered Jun 11, 2020 in Terraform by MD
• 95,460 points
1,506 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,460 points
987 views
0 votes
1 answer

How to import module in Terraform code?

Hi@akhtar, A module is a container for multiple resources that ...READ MORE

answered Jul 21, 2020 in Terraform by MD
• 95,460 points
2,090 views
0 votes
1 answer

How to read input from CSV file or any file instead of using tfvars file in Terraform?

Hi, You can use the file function in Terraform. ...READ MORE

answered Jul 27, 2020 in Terraform by MD
• 95,460 points
5,678 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP