aws / amazon-ecs-cli

The Amazon ECS CLI enables users to run their applications on ECS/Fargate using the Docker Compose file format, quickly provision resources, push/pull images in ECR, and monitor running applications on ECS/Fargate.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI.html
Other
1.77k stars 302 forks source link

Support specifying ECS Deployment Types for fargate( ECS or blue/green deployment)!!!!!! #1131

Open MatheusEble opened 3 years ago

MatheusEble commented 3 years ago

I believe ecs-cli still does not support specifying ECS deployment types when create ecs service. In recent AWS releases, fargate now support blue/green deployment.

https://github.com/aws/aws-sdk-go/blob/master/service/ecs/api.go#L6662-L6683

Implementation would be like

ecs-cli compose service create --ecs-cli compose service create --deployment-controller

if set in ecs-params

run_params:
  deployment_controller:
    type: <ECS or CODE_DEPLOY>