EC2 blue/green deploy with AutoScalingGroup fails

1

As already pointed out in the old Developer Forum CodeDeploy B/G deploy is failing if the AutoScalingGroup has some AutoScalingPolicy attached because it looses the attachment to the original TargetGroup.

Has anybody found a better solution than manually re-attaching it? Attaching the policies instead of the target is also a possibility, but it makes the management of the policies not in CloudFormation. BTW, the old workaround only worked with "classic LB", it can't be implemented with current ALBs.

It is "funny" that AWS is aware of this severe bug but did not fixed it yet, after 5 years ;(

profile picture
已提問 2 年前檢視次數 123 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南