Replies: 2 comments
-
Just specify the job definition name (without the revision) and your task will always use the latest! |
Beta Was this translation helpful? Give feedback.
0 replies
-
@diasdev did you find a solution? I'm stuck on the same issue, but can't find any option in the latest CDK version (Typescript). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using CDK stack deployment to update an ECS service (ApplicationLoadBalancedFargateService construct), the deployment will create a new task definition (which is expected) and then inactivate pior task defs, which makes rolling back to a previous task def revision impractical.
Is there any argument I can pass to ApplicationLoadBalancedFargateService that prevents cdk/cfn to inactivate older task definitions when creating a new revision to update the ecs service?
Beta Was this translation helpful? Give feedback.
All reactions