config
attribute not expected in terraform_remote_state
data source
#1606
Labels
config
attribute not expected in terraform_remote_state
data source
#1606
Extension Version
v2.28.2
VS Code Version
Version: 1.83.1
Commit: f1b07bd25dfad64b0167beb15359ae573aecd2cc
Date: 2023-10-10T23:45:31.402Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Linux x64 6.5.7-200.fc38.x86_64
Operating System
Linux fws 6.5.7-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 11 04:07:58 UTC 2023 x86_64 GNU/Linux
Terraform Version
Terraform v1.6.2 on linux_amd64
Steps to Reproduce
Create a
terraform_remote_state
data source with aconfig
argument where thebackend
argument is a variable.Expected Behavior
Should not throw "Unexpected attribute" error.
Actual Behavior
Unexpected attribute: An attribute named "config" is not expected here
Terraform Configuration
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
Downgrading to v2.27.2 or "hard coding" the
backend
attribute to"azurerm"
resolves this problem.References
terraform_remote_state
config
incorrectly flagged with errors #1580Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: