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
A while ago the Blue Green deployment option on ECS services was updated and now is managed by AWS Code Deploy.
If you call a service that was set up with Blue-Green option, that is the ecs deploy output:
Updating service
An error occurred (InvalidParameterException) when calling the UpdateService operation: Unable to update task definition on services with a CODE_DEPLOY deployment controller. Use AWS CodeDeploy to trigger a new deployment.
Looking into the AWS docs for CodeDeploy, it's a whole new set of API calls, using another client (codedeploy not ecs) to start and monitor the deployment process.
A while ago the Blue Green deployment option on ECS services was updated and now is managed by AWS Code Deploy.
If you call a service that was set up with Blue-Green option, that is the
ecs deploy
output:Looking into the AWS docs for CodeDeploy, it's a whole new set of API calls, using another client (
codedeploy
notecs
) to start and monitor the deployment process.I spent some time understanding the environment and the calls, and come up with this hack:
https://gist.github.com/joaoricardo000/1992088214084818ee213c42e239caaa
I'll open a PR soon with this code merged with the Actions of ecs-deploy.
The text was updated successfully, but these errors were encountered: