-
Notifications
You must be signed in to change notification settings - Fork 9.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terraform can't find some resources when they are created using resource count parameter #431
Comments
That double-interpolation is not supposed to work properly. We should turn that into a syntax error: |
Done |
By 'done' do you mean Terraform now generates an error message, or you've added the ability to use double interpolation? |
Heh, sorry. It generates a proper error message. There are a couple issues you might want to track to get the behavior you wanted: #219 and... I can't find another. But that would help. |
I'm glad it generates an error now. That greatly helps with learning and
|
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. |
This is somewhat related to #430. The dependency order was incorrect, so I modified many of the resources to specify directly the dependencies using the 'depends_on' resource parameter. Terraform started creating things in the expected order; however, it was unable to locate some resources it had just created that needed to be used in later resources. For example, it was unable to determine the subnet id for a subnet that it had just created.
The full configuration as well as output is available in this gist.
The text was updated successfully, but these errors were encountered: