-
Notifications
You must be signed in to change notification settings - Fork 180
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
Nested dynamic blocks flagged as errors #1877
Comments
Hi @ephraim-gr, Thanks for the report! To reproduce the issue, I need more information about your configuration. Which data/resource/provider has a |
Hi @dbanck, thanks for the response. |
Thanks! I was able to reproduce the error you're seeing.
We bundle the latest provider schema available at the time of the language server and extension release. If new attributes, blocks or resources are introduced since then, we can't automatically reflect them (yet). The next language server release will bundle the updated schema and fix the problem. We apologize for the inconvenience. In the meantime, when you run In case you want to learn more about how we handle provider schemes, we have an explainer here: https://github.com/hashicorp/terraform-ls/blob/main/docs/schema.md |
Got it, thank you very much! |
Extension Version
v2.33.0
VS Code Version
Version: 1.95.1
Commit: 65edc4939843c90c34d61f4ce11704f09d3e5cb6
Date: 2024-10-31T05:14:54.222Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Darwin arm64 23.6.0
Operating System
macOS Sonoma 14.7.1 (23H222)
Terraform Version
Terraform v1.9.8 on darwin_arm64
Steps to Reproduce
Basically the same as #1594.
I specifically am trying to do this and get the same error
Unexpected block: Blocks of type "dynamic" are not expected here
:Expected Behavior
Shouldn't give me this error as it was fixed in version 2.29.0 as was stated in this comment
Actual Behavior
Still get the error
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: