Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECS Blue Green deploy not supported #120

Open
joaoricardo000 opened this issue Oct 18, 2019 · 0 comments
Open

ECS Blue Green deploy not supported #120

joaoricardo000 opened this issue Oct 18, 2019 · 0 comments

Comments

@joaoricardo000
Copy link

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.

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.

Repository owner deleted a comment from angelozignaltinho Jul 21, 2022
Repository owner deleted a comment from angelozignaltinho Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant