-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(aws-ecs-patterns): Add capacity_provider_strategies to QueueProcessingFargateService #14781
Comments
As a heads up, CloudFormation doesn't support this yet, so CDK is effectively blocked. Check out aws/containers-roadmap#631 for the Cloud Formation discussion. |
Thanks for the heads up ABevier, but this is currently supported in cloudformation. Since it is supported by an L2, it can definitely be supported by an L3. Currently there is no way to add what you want @purvesta, so thank you for the feature request! Here's the code where the L3 creates the L2 construct: aws-cdk/packages/@aws-cdk/aws-ecs-patterns/lib/fargate/queue-processing-fargate-service.ts Lines 137 to 152 in c832c1b
There is no capacityProviderStrategies property here, so this would have to be added here with a way to allow the user to set the property.
|
|
❓ General Issue
I am trying to deploy a QueueProcessingFargateService that will deploy task containers to both FARGATE and FARGATE_SPOT, however the QueueProcessingFargateService L3 construct does not include a parameter option for capacity_provider_strategies like the FargateService L2 construct that I can see.
Environment
Other information
The task that is running in FARGATE does not need to run at full capacity all of the time, therefore the idea behind multiple capacity providers is to deploy 10 tasks that have a weight distribution across both FARGATE and FARGATE_SPOT and also scale as the queue grows in size while utilizing the cost savings of spot.
The text was updated successfully, but these errors were encountered: