-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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): (ECS Patterns: Support Latest Task Definition Revision for ApplicationLoadBalancedFargateService) #29662
Comments
Supporting: taskDefinitionRevision: TaskDefinitionRevision.LATEST Is indeed required also for ECS patterns. |
Thanks for the feature request. I saw in the issue you linked (#26983) that #7863 was also referenced:
Some further discussion and review is probably needed and we can continue tracking here. |
Hi @tim-finnigan are there any news on this subject? taskDefinitionRevision: TaskDefinitionRevision.LATEST I assume this should be a quick win since CDK already supports this option for an EXS service and it only requires to expose the option also for this ECS pattern.. In the meanwhile every time we deploy a CDK change it takes us back to the previous revision that was set on the CloudFormatrion's latest CDK deployment which is a real pain. |
Describe the feature
Introduce the ability to specify the latest task definition revision automatically for ApplicationLoadBalancedFargateService within ECS patterns, akin to the recent enhancement in ECS services. This would enable seamless updates without manually updating the task definition revision in the CDK code.
#26983 #27036
Use Case
Currently, when deploying applications using ApplicationLoadBalancedFargateService, specifying the latest task definition revision requires manual updates. This is cumbersome and error-prone, especially for teams frequently updating applications.
Proposed Solution
Implement a mechanism within ECS patterns, particularly for ApplicationLoadBalancedFargateService, to reference the latest task definition revision automatically. This could involve adding an option to use the latest revision within the CDK construct or a similar approach to ensure consistency across ECS services and patterns.
Other Information
While the recent update to ECS services addresses this for services directly, extending this capability to ECS patterns would streamline application deployments further, ensuring consistency and reducing manual overhead. This feature would be particularly beneficial for continuous deployment pipelines and environments where application updates are frequent.
Acknowledgements
CDK version used
2.134.0
Environment details (OS name and version, etc.)
MacOS Sonoma 14.2.1
The text was updated successfully, but these errors were encountered: