You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our case, we have a submodule with an output that is used as an input to another module which is hitting this bug. This then fails with an error about "unknown values during apply (this is a bug in Terraform; please report it!)".
Just to add some more details, the 'true' path on the conditionals (which is the part that contains chunklist) shouldn't actually be evaluated, since 0 is not > 0.
I'm not sure why the presence of chunklist in the 'true' path causes the test_result output to be removed.
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.
ghost
locked and limited conversation to collaborators
Aug 18, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/melbit-michaelw/2d7f3cf032853deb2a683480dd8cc9d1
Crash Output
n/a
Expected Behavior
Outputs for both test_result and test_result2, both of which should be empty maps.
Actual Behavior
Only test_result2 produces an output.
In our case, we have a submodule with an output that is used as an input to another module which is hitting this bug. This then fails with an error about "unknown values during apply (this is a bug in Terraform; please report it!)".
Steps to Reproduce
Using the example terraform code,
terraform init
terraform apply
Additional Context
References
This looks similar to #21455
The text was updated successfully, but these errors were encountered: