Open ixti opened 4 months ago
An alternative workaround would be to create autoscaling group name using random provider with userData as keepers.
@ixti thanks for raising this! It looks like it is an issue with the CloudControl API so I've created an issue in the cloudformation-roadmap repo.
@ixti Got into the same issue. Could you please elaborate on "An alternative workaround would be to create autoscaling group name using random provider with userData as keepers." ?
I put replaceOnChanges: ["launchTemplate"],
but it really sucks because it kills all the instances... Using classic is an option (I still have it to provision route53 entries), but I don't really like to go back.
@ixti Got into the same issue. Could you please elaborate on "An alternative workaround would be to create autoscaling group name using random provider with userData as keepers." ?
Frankly, it was only a hypothesis that I never tried to check. And retroactively reading my own message, I can't even tell what I was thinking about when I wrote that possible alternative approach. :D Sorry.
What happened?
When I change launch template, ASG update fails:
Example
After changing updating userData - it causes (correctly) update of the ASG as well, but the updte fails with the above message.
Output of
pulumi about
Additional context
As a workaround - switched to aws classic for the ASG resource:
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).