-
Notifications
You must be signed in to change notification settings - Fork 10
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
Invalid for_each argument
when trying to deploy v3-single-zone
#34
Comments
Hi @eladb, Thanks for using the module, and I apologise you've run into this issue. I've been able to replicate the issue with v1.5.7. However, I found that if you use Terraform 1.6.1 or above, the module deploys the example correctly Kind Regards |
We might be restricted by the license change 🤦♀️. Let me check if I can figure out the issue and contribute a fix. Will that be ok? |
No worries @eladb. |
Hi @eladb, Apologies for the delay in responding. I think I might have figured out the issue with v1.5.7. It looks like in Terraform v1.5.7, if you use the try and one functions together, Terraform marks the result as computed. If you remove either function, then the value is resolved correctly. I need to do some additional testing however, I wanted to give you a quick update. |
Thanks, appreciate the update. Haven't had time to dive into this yet, so let me know if this is fixed. |
Hi @eladb, |
Hi @eladb, This should have been resolves as part of v3.0.2 |
The |
Technical Details
tf-aws-open-next-zone
Describe the bug
I am trying to deploy
v3-single-zone
without any modifications and I get an aInvalid for_each argument` error.Steps to Reproduce
git clone git@github.com:RJPearson94/terraform-aws-open-next-examples.git cd terraform-aws-open-next-examples/v3-single-zone terragrunt init terragrunt apply
Expected behaviour
I expected the example to work out of the box :-)
Logs
The text was updated successfully, but these errors were encountered: