Skip to content
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

Closed
ghost opened this issue Aug 18, 2016 · 2 comments · Fixed by #8305
Closed

Remote state variables present in root and not under output #8296

ghost opened this issue Aug 18, 2016 · 2 comments · Fixed by #8305

Comments

@ghost
Copy link

ghost commented Aug 18, 2016

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.

@jen20
Copy link
Contributor

jen20 commented Aug 18, 2016

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!

@github-actions
Copy link

github-actions bot commented Jun 3, 2021

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant