Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform-ls performs shutdown if any terraform 11 folder found in project #211

Closed
masseyc opened this issue Jul 6, 2020 · 1 comment · Fixed by #220
Closed

terraform-ls performs shutdown if any terraform 11 folder found in project #211

masseyc opened this issue Jul 6, 2020 · 1 comment · Fixed by #220
Assignees
Labels
bug Something isn't working
Milestone

Comments

@masseyc
Copy link

masseyc commented Jul 6, 2020

Server Version

0.4.1

Terraform Version

0.12.28 and 0.11.10

Client Version

VSCode Terraform Plugin 2.0.2

Terraform Configuration Files

see attached

Log Output

https://gist.github.com/masseyc/164b66092f351d12b008296dac3f2f62

Expected Behavior

terraform-ls continues within terraform 12 folder/project

Actual Behavior

terraform-ls detects folder with terraform 11 project and performs shutdown, does not provide completion etc to to other parts of project.

Steps to Reproduce

Create VSCode project with 2 folders, each with a terraform project/folder, one based on 0.11, one 0.12 (as common in large projects using terraform version managers e.g. tfenv) terraform-ls will detect the 0.11 project and exit with error.

See attached simple example. With tfenv as terraform install, run terraform init in each folder then attempt to open in VSCode with terraform-ls enabled.
terraform-ls-tfenv.tar.gz

@masseyc masseyc changed the title terraform-ls exits with error if any terraform 11 folder found in project terraform-ls performs shutdown if any terraform 11 folder found in project Jul 6, 2020
@radeksimko radeksimko added the bug Something isn't working label Jul 6, 2020
@radeksimko radeksimko added this to the v0.4.2 milestone Jul 8, 2020
@radeksimko radeksimko self-assigned this Jul 9, 2020
@radeksimko radeksimko modified the milestones: v0.4.2, v0.5.0 Jul 10, 2020
@ghost
Copy link

ghost commented Aug 9, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the context necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Aug 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants