Open
Description
Language Server Version
0.36.4
Terraform Version
Terraform v1.11.1 on darwin_arm64
Client Version
vscode HashiCorp Terraform 2.34.3 (2025-01-22)
Terraform Configuration
module "api" {
source = "gitlab.com/developer/ecs-service/local"
version = "4.0.0"
...variables
Steps to Reproduce
- Start with a simple module with an input variable. Publish it as a version to a registry.
- Reference it in your project and use the existing variables
- Update the module - modify input variables, add or remove some variables. Publish a new version to a registry.
- Re-reference the new version in your project and try to use the variables again.
- The terraform plugin still references the old version's variables and now gives errors when trying to edit the code.
Expected Behavior
The extension should look at the most recent version installed for the module.
Actual Behavior
The extension uses the old - maybe cached version of the module?
Gist
No response
Workarounds
I haven't found one yet - just wondering if this is an issue others are seeing, or if this workflow works for others.
References
No response
Help Wanted
- I'm interested in contributing a fix myself
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment