-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Remote state variables present in root and not under output #8296
Comments
Hi @ivanjaros! Sorry about this, we apparently missed updating that page in the documentation when we changed this to support lists and maps as remote state attributes. There was a note in the CHANGELOG under backwards compatibility but this one slipped past. I'll get it fixed up - thanks for reporting the 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. |
So according to the documentation in here https://www.terraform.io/docs/providers/terraform/d/remote_state.html#output the variables in the remote state should be accessed under the
output
key but in reality they are present at the root level.I was getting error about unknown attribute but running
terraform show
luckily showed me the real structure of the state and then I saw the issue.The text was updated successfully, but these errors were encountered: