You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following situation inside an aws_autoscaling_group when performing a change in the termination policies:
termination_policies.#: "0" => "3" (forces new resource)
termination_policies.3089922268: "" => "ClosestToNextInstanceHour" (forces new resource)
termination_policies.3602983927: "" => "OldestLaunchConfiguration" (forces new resource)
termination_policies.912102603: "" => "OldestInstance" (forces new resource)
This change should not require a new ASG as it can be applied in place.
I will gladly work on this when I'll have time but any pointers on how to get it done would also be great.
Thank you.
The text was updated successfully, but these errors were encountered:
I had the same issue. I wrote PR #2890 for it. The details for why it breaks (basically "update" was never written) are in there.
It also fixes the fact that Terraform can incorrectly reorder your policies if you have more than one.
dlsniper
changed the title
AWS ASG termination_policies changes force new resources
provider/aws ASG termination_policies changes force new resources
Aug 5, 2015
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.
ghost
locked and limited conversation to collaborators
Apr 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I have the following situation inside an
aws_autoscaling_group
when performing a change in the termination policies:This change should not require a new ASG as it can be applied in place.
I will gladly work on this when I'll have time but any pointers on how to get it done would also be great.
Thank you.
The text was updated successfully, but these errors were encountered: