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
list1 = [a,b,c]
list2 = []
concat(list1, list2) = [a,b,c, ] # wrong
# but should be
concat(list1, list2) = [a,b,c] # without empty element at the end
# similarly
concat(list2,list1) = [ ,a,b,c] # wrong empty element 0
Scenario:
Assume I want to have a number of different CIDR as variable and then use there in security groups.
Thanks for the report and the detailed repro cases! For really wonky backwards compat reasons, I'm keen to not change this behavior in light of the fact we just introduced first class lists!
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
Apr 23, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Problem:
Scenario:
Assume I want to have a number of different CIDR as variable and then use there in security groups.
If all CIDR variable contains at least 1 element then everything works fine:
however if one of the var is empty
""
then an empty element is addedOutput:
The empty element causes an error during the setup of the security group.
The text was updated successfully, but these errors were encountered: