Runners AMI change causes user_data to be changed... #462
-
Hello ! Since this template requires it, the I know it's kind of "by design" - but I wish there was a way to tell AWS "I want the latest AMI" without having to use TF to hardcode the latest value in the Please let me know if my question makes sense, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As long as we want to use the most recent AMI, this is impossible to achieve. There is no such option available. We could calculate the AMI at runtime. But the drawback is that the |
Beta Was this translation helpful? Give feedback.
As long as we want to use the most recent AMI, this is impossible to achieve. There is no such option available.
We could calculate the AMI at runtime. But the drawback is that the
terraform apply
is no longer idempotent as the AMI might change. So it wouldn't be a good option.