-
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
Resource map-typed arguments various crashes #10187
Comments
Hi @moio, Thanks for the bug report! The crashes should be fixed in master now. As for the type errors, or lack there of, we may have to hold off until after 0.8 where we are planning on reworking the underlying type system which should fix nested map/list encoding ambiguities. I removed the crash tag, and I'll leave this open pending the interpolation type issues. |
@jbardin great, thanks so far! I tested in my setup and crashes are indeed gone! 👍 What about scenario 1, where plan is inconsistent on the number of vars? Even in latest terraform I get (emphasis mine):
Only 1 var is populated despite Is there a chance this could be fixed before 0.8, through #8867 or otherwise? |
Let me see if I can get the first case working for 0.8. The underlying issue is rather deep, and is going to take a lot of work to solve in it's entirety, but we may be able to add another workaround here. |
Fix some cases for nested maps and lists
These cases are now all working as expected. The string type error in scenario 3 is now:
Thanks for the thorough bug report! |
Thanks for taking care of all of these corner cases @jbardin! I look forward to test them all in my rather complicated setup soon! 😉 |
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
0.8.0 dev, current master (7293630)
Affected Resource(s)
Terraform core, any resource which has an argument of type map (eg. heroku_app's config_vars).
Terraform Configuration Files
Expected Behavior
See comments in scenarios above.
Actual Behavior
See comments in scenarios above.
Steps to Reproduce
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: