-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Outputted map does not contain all expected keys #9549
Comments
this is a major blocker in my current efforts to automate our whole vpc setup and I went pretty much crazy debugging my system until I found this. any ideas of when this is fixed? |
BTW #6524 is also applicable to this - the map contents get indented every time I (in that case my editor) uses fmt before saving. pretty annoying :) |
Fixed in master! |
Fix for missing computed map entries disappearing
Thanks everybody, great job! |
@mitchellh, @jbardin: JFYI while testing this I found several possibly related failures reported in #10187. Thanks again! |
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. |
Terraform Version
Latest 0.7.8
Affected Resource(s)
Core issue. Reproduced with either:
Terraform Configuration Files
Please add proper AWS credentials in https://github.com/moio/terraform_output_map_issue_example/blob/master/main.tf#L2
Debug Output
https://gist.github.com/moio/2a980e348bccde29be8d13e47821e218
Expected Behavior
Actual Behavior
Steps to Reproduce
terraform plan
Important Factoids
I am trying to use a variable from an output of a module in another module.
Note that this does work in case of literals (
param1
in the sample).Also note that this does work using the hacky interpolated map literal syntax.
References
The text was updated successfully, but these errors were encountered: