-
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
Interpolation doesn't work for derived resources #17368
Comments
any updates here? |
Hi @hyperiusm, Sorry about the lack of feedback here. There was more discussion in 17462, but I have got a working reproduction case now. It requires a saved plan, and an existing resource with an interpolated count. A minimal test case here starts with the config:
|
ignore errors interpolating RawCount during apply
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. |
It looks like there is interpolation bug introduced in v0.11.3.
I have the module with a couple EC2 instances count of which is provided to module as variable.
Also I have a bunch of EBS, EBS attachments and other stuff which relies on count of EC2 instances.
There is no errors when
terraform plan -out=file
executed, butterraform apply file
fails with following error:Terraform Version
Terraform Configuration Files
Module call
Module code
Debug Output
https://pastebin.com/EwE2eTp3
Expected Behavior
Resources created
Actual Behavior
terraform apply
fails with errorSteps to Reproduce
References
Perhaps the same issue as #17351
The text was updated successfully, but these errors were encountered: