-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
v5.3.1 does not fix "ami variable when using without ssm" for fresh apply #380
Comments
Same here. In case AMI id is determined dynamically in module2 with data |
This issue has been automatically marked as stale because it has been open 30 days |
/remove-lifecycle stale |
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
how convenient.. no need to resolve, respond or discuss issues. Simply wait a bit and vuala - no issues 🥇 |
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. |
Description
Release v5.3.0 introduced a change to "Remove call data ssm parameter when ami id is specified." This change was then modified in v5.3.1 to make this logic more robust through a nested
try(coalesce(...))
statement.Unfortunately, the current implementation fails on a cold apply (i.e., no existing infrastructure), with
terraform plan
returning the following error:Versions
Module version [Required]: any version from v5.3.0 onward (up to v5.6.1)
Terraform version: v1.5.7
Reproduction Code [Required]
Steps to reproduce the behavior:
ami
input variableterraform init
terraform plan
<-- produces error (see above)Expected behavior
Prior to v5.3.0, the module works as-expected.
Actual behavior
Starting with v5.3.0, the module produces an error (see above).
The text was updated successfully, but these errors were encountered: