(aws-ecs): (ECS Patterns: Support Latest Task Definition Revision for ApplicationLoadBalancedFargateService) #29662
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p2
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: