-
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
terraform_remote_state
config
incorrectly flagged with errors
#1580
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
terraform_remote_state
config
incorrectly flagged with errors
Thank you for the report @gdmoore85 I was able to reproduce this with Terraform CLI uninstalled. data "terraform_remote_state" "name" {
backend = "remote"
config = {
organization = "value"
}
} I can confirm this is indeed a bug and will investigate it further and hopefully find a fix. While we investigate, you can either install Terraform CLI (e.g. via |
I have two PRs resolving the bug, which are both currently pending review:
We will post updates when they reach a release. |
A new version 2.28.2 was just released. This fixes the reported bug. The update should appear automatically in VS Code. Thank you for the report @gdmoore85 In case you experience any different validation related bug, please do let us know through a new issue. |
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. |
Extension Version
v2.28.1
VS Code Version
Version: 1.82.2 (Universal)
Commit: abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
Date: 2023-09-14T05:59:47.790Z
Electron: 25.8.1
ElectronBuildId: 23779380
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0
Operating System
macOS Ventura 13.6
Terraform Version
Terraform v1.5.7 on darwin_arm64
Steps to Reproduce
Creating remote datasource generates unexpected attribute errors. This does not generate an error in v2.27.2.
Expected Behavior
Would expect extension to not generate error.
Actual Behavior
Unexpected attribute error is generated
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
None as this does not impact the terraform run
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: