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
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
I have a very large module which contains the following as part of an output:
Due to the size and content of the module I'm not able to share full code, but the problem appears easy to reproduce so that shouldn't be a problem.
In this instance, aws_subnet.public.*.id returns an empty list, and length(var.azs) returns 3.
I was also able to reproduce using the terraform console which is where the crash output is from:
Debug Output
Crash Output
https://gist.github.com/melbit-michaelw/c827a37598d144028c7d674f8021a66c
Expected Behavior
I expected it to return an empty list when the input was an empty list.
Actual Behavior
Crash. See crash log.
Steps to Reproduce
Easiest method is the terraform console example above.
Additional Context
References
This looks similar to #21403
The text was updated successfully, but these errors were encountered: