Installation issue

I added in path aws cli and terraform in env variable. While giving aws configure and terraform init command it vies me error
= aws : The term ‘aws’ is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the
+ FullyQualifiedErrorId : CommandNotFoundException
= terraform : The term ‘terraform’ is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1

  • terraform init
  •   + CategoryInfo          : ObjectNotFound: (terraform:String) [], CommandNotFoundException  
      + FullyQualifiedErrorId : CommandNotFoundException
    
    

screenshot is here. Can you please help?

Hi @meghna_kansara,

Did you try to restart VS Code or your system after adding the path? You can also try the following command: $Env:Path to see if the added path is available.

Regard

Thanks. after restart VS Code it worked.

1 Like