VSCode and Terraform version Archives - For all your terraform needs https://terraformarchitect.com/tag/vscode-and-terraform-version/ Automation cannot be an afterthought (TM) Wed, 09 Nov 2022 13:26:30 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 VS Code does not pick up the latest terraform version https://terraformarchitect.com/known-issues-terraform/vs-code-does-not-pick-up-the-latest-terraform-version/?utm_source=rss&utm_medium=rss&utm_campaign=vs-code-does-not-pick-up-the-latest-terraform-version https://terraformarchitect.com/known-issues-terraform/vs-code-does-not-pick-up-the-latest-terraform-version/#respond Wed, 09 Nov 2022 13:26:30 +0000 https://terraformarchitect.com/?p=299 From a powershell prompt, get the current executable path for terraform using: Get-Command terraform If this is pointing to the older terraform version, simply delete the older terraform.exe file. ReInstall […]

The post VS Code does not pick up the latest terraform version appeared first on For all your terraform needs.

]]>
From a powershell prompt, get the current executable path for terraform using:

Get-Command terraform

If this is pointing to the older terraform version, simply delete the older terraform.exe file.

ReInstall the newer version.  Now, do Get-Command again to see the executable path.

VS Code should also pick up whatever version exe is returned by the Get-Command terraform.

 

 

 

The post VS Code does not pick up the latest terraform version appeared first on For all your terraform needs.

]]>
https://terraformarchitect.com/known-issues-terraform/vs-code-does-not-pick-up-the-latest-terraform-version/feed/ 0