-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Language Server Version
v0.36.5
Terraform Version
Terraform v1.12.2 on darwin_arm64
Client Version
VS Code
Terraform Configuration
resource "helm_release" "nginx_ingress" {
name = "nginx-ingress-controller"
repository = "https://charts.bitnami.com/bitnami"
chart = "nginx-ingress-controller"
set = [
{
name = "service.type"
value = "ClusterIP"
}
]
}
Steps to Reproduce
- Use any of freshly released official providers that are using Terraform Plugin Framework, for example helm 3.0.2
- Adopt new required syntax
Expected Behavior
terraform-ls is either:
- rebuilt immediately every time official provider has breaking change introduced and bundled into new version of vscode-terraform
- capable of updating schemas itself, as users do not naturally expect it to be offline version of registry in one binary that is bundled with NPM package of VS Code plugin
Actual Behavior
- terraform-ls is claiming syntax is incorrect while terraform binary claims otherwise (see referenced issues)
- it identifies last version of provider it knows about and not one that is discoverable by
terraform provider schema
Gist
No response
Workarounds
No response
References
Growing list of issues under https://github.com/hashicorp/vscode-terraform/issues?q=is%3Aissue%20state%3Aopen%20%22not%20expected%22 that are ignored, because problem is not with VS Code extension.
Examples:
- Syntax highlight is broken for new version of helm provider vscode-terraform#1974
- helm_release - attribute named "set" is not expected here vscode-terraform#2063
- Unexpected attribute: An attribute named "kubernetes" is not expected here vscode-terraform#2059
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
gws, SerhiiRohoza, jasonwhipp, staranto, ironashram and 26 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working