0
0

More than 1 year has passed since last update.

【AWS】CodeDeployによるBlue/Greenデプロイ実行時エラー「The ELB could not be updated due to the following error: Green taskset target group cannot have non-zero weight ...」の解決方法

Posted at

概要

Fargateへのデプロイを、CodeDeployによるBlue/Greenデプロイにより実施した。
その際、CodeDeploy画面で、下記のエラーが発生した。

The ELB could not be updated due to the following error: Green taskset target group cannot have non-zero weight prior to traffic shifting on listener arn:aws:elasticloadbalancing:ap-northeast-1:xxxxxxxxxxxx:listener/app/my-app-alb/xxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxx.

※xは伏せ字

解決方法

ALBのTarget groupの指定を1つにする。

変更前
image.png

変更後
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0