Unable to update platform version on services with a CODE_DEPLOY deployment controller. Use AWS CodeDeploy to trigger a new deployment

2022. 11. 29. 17:36AWS/Amazon Elastic Container Service

728x90
SMALL

- 개요

CodeDeloy로 B/G deployment가 구성되어 있는 ECS의 경우 desired count를 AWS Web Console에서 변경을 시도할 경우 에러가 발생한다.

 

 

- 에러 메세지

HTTP status code 400 Unable to update platform version on services with a CODE_DEPLOY deployment controller. Use AWS CodeDeploy to trigger a new deployment.

 

 

- 해결 방법 (CLI를 통해 처리)

aws ecs update-service --cluster <cluster> --service <service> --desired-count X

 

728x90
LIST