Closed reytarovskiy closed 2 years ago
AWS announced capacity provider support with AWS CodeDeploy, it will be nice if aws-ecs-orb will support this.
CircleCI config.yml
aws-ecs/deploy-service-update: ... capacity-provider-strategy: 'my-capacity-provider-name'
AppSpec json
{ "version": 1, "Resources": [ { "TargetService": { "Type": "AWS::ECS::Service", "Properties": { "TaskDefinition": "arn:aws:ecs:us-west-2::task-definition/:19", "LoadBalancerInfo": { "ContainerName": "", "ContainerPort": "" }, "CapacityProviderStrategy": [ { "CapacityProvider": "", "Base": 0, "Weight": 1 } ] } } } ] }
## Supporting Documentation Links: - [AppSpec](https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-resources.html) - [Github issue](https://github.com/aws/containers-roadmap/issues/713)
Something about it? Or other ways to solve?
This feature has been added with PR #172
Describe Request:
AWS announced capacity provider support with AWS CodeDeploy, it will be nice if aws-ecs-orb will support this.
Examples:
CircleCI config.yml
aws-ecs/deploy-service-update: ... capacity-provider-strategy: 'my-capacity-provider-name'
AppSpec json
{ "version": 1, "Resources": [ { "TargetService": { "Type": "AWS::ECS::Service", "Properties": { "TaskDefinition": "arn:aws:ecs:us-west-2::task-definition/:19",
"LoadBalancerInfo": {
"ContainerName": "",
"ContainerPort": ""
},
"CapacityProviderStrategy": [
{
"CapacityProvider": "",
"Base": 0,
"Weight": 1
}
]
}
}
}
]
}