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,170 points
2,453 views

1 answer to this question.

0 votes

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,060 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,060 points
233 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,060 points
2,955 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,060 points
559 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,060 points
180 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,060 points
565 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,060 points
522 views