-
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
Syntax error interpolating count attribute when value passed between modules #5322
Comments
This is biting me right now. I'm trying to start up one EC2 instance in every availability zone with output from tf_aws_availability_zones but running into this parse error instead, forcing me to use hard coded values. |
Any update on this? Thanks! |
Related to #4703 too maybe? |
Variables weren't being interpolated during the Input phase, causing a syntax error on the interpolation string. Adding `walkInput` to the EvalTree operations prevents skipping the interpolation step. Fixes #5322
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. |
From a report on the Terraform mailing list.
Repro config
Steps
Run
terraform plan
.Expected behavior
A plan to create 3 templates.
Observed behavior
Related issues:
This might actually be a dupe of one of those, but I wanted to get this repro out there. 👍
The text was updated successfully, but these errors were encountered: