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
The text was updated successfully, but these errors were encountered:
jaekunchoi
changed the title
Referencing count created resources from another module in a map
Referencing count created resources from another module in map array
Jun 15, 2020
@apparentlymart I think that this is basically an instance of #25162 ("non-obvious ordering of functions and resources") - does it look that way to you?
This looks like the result of the variable values being evaluated during destroy, which should be one of the situations fixed in 0.13.
@hybmg57 There's not enough information here for me to reproduce the issue, but if you have the ability to test with the latest 0.13 beta, we can see if my hunch is correct and this is fixed already.
If there is still a question, I recommend the the community forum, where there are far more people available to help. If there is a bug or you would like to make a feature request, please open a new issue and fill out the template.
Thanks!
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 as resolved and limited conversation to collaborators
Oct 13, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
waiting-responseAn issue/pull request is waiting for a response from the community
Terraform Version
0.12.26
Terraform Configuration Files
Modules in path
./ecs/ecs-service/*.tf
parent module
./ecs
Debug Output
Expected Behavior
module ecs-service targetgroup should wait until alb rules are deleted first so alb module doesn't reference elements that does not exist.
Actual Behavior
errors with
Call to function "element" failed: cannot use element function with an empty list
Steps to Reproduce
run
terraform destroy
with above configReferences
#11210
The text was updated successfully, but these errors were encountered: