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
Also, the issue is happening in this case only. If custom_container_secrets is not null then both the code are working. Also, both the codes are working when custom_container_secrets is declared as a variable (not as a key of an object).
References
The text was updated successfully, but these errors were encountered:
vermdeep
changed the title
for loop not working with conditional statements
conditional statements not working with dynamic lists
Jul 7, 2019
vermdeep
changed the title
conditional statements not working with dynamic lists
conditional statements not working with dynamic lists generated using for loop
Jul 7, 2019
This looks similar to, and should also be fixed by #21957.
It is turning up in a slightly different place however, so I'll leave this open until we can confirm.
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 13, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
Expected Behavior
foo.bar
file to be created with content[]
Actual Behavior
Empty
foo.bar
file is created.Steps to Reproduce
Additional Context
On moving the conditional statement to a local variable and then
concat
two list works.Following is working:
Also, the issue is happening in this case only. If
custom_container_secrets
is not null then both the code are working. Also, both the codes are working whencustom_container_secrets
is declared as a variable (not as a key of an object).References
The text was updated successfully, but these errors were encountered: