aws_ecs: allow to specify kernel when creating the ecsOptimizedImage #29800
Labels
@aws-cdk/aws-ecs
Related to Amazon Elastic Container
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
p2
Describe the feature
Current CDK api does not allow to specify the kernel version, and you end up with 4.14 which is marked as EOL Jan 2024.
This page says 4.14 has reached EOL: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html
API link: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.EcsOptimizedImage.html
It would help if:
Use Case
I want to create an ECS autoscaling group with the recommended kernel or using another supported ami from the ECS optimized image.
Proposed Solution
Option 1: update the api to use the recommended kernel version (5.10)
Option 2: allow users to pass the kernel version to use, as the AMI exists.
Other Information
No response
Acknowledgements
CDK version used
2.137.0
Environment details (OS name and version, etc.)
AL2
The text was updated successfully, but these errors were encountered: