No schema found for ... Functionality may be limited. You may need to run terraform init. Initialization failed: no exec path provided for terraform #398
Labels
enhancement
New feature or request
I've also filed this as a bug for the vscode-terraform repo: hashicorp/vscode-terraform#552
Server Version
Terraform Version
Client Version
Terraform Configuration Files
main.tf
File Tree
Log Output
This is the terraform-ls logs output for the terraform VSCode extension. For this output:
main.tf
which gave me the message in the first screenshotterraform init
button in the popup messageActual Behavior
The VS Code Terraform extension always gives me the following message whenever I open any
.tf
file.Then although I have already run
terraform init
, when I click the terraform init button I get the following message.Steps to Reproduce
terraform init
in your test folder with a singlemain.tf
and with the code found in the Terraform Configuration Files section above.main.tf
terraform init
buttonTerraform Install
I simply downloaded and extracted the terraform executable to
~/.local/bin
. Then I added~/.local/bin
to my PATH via my~/.zshrc
usingexport PATH="$HOME/.local/bin:$PATH"
The text was updated successfully, but these errors were encountered: