aws-cdk
aws-cdk copied to clipboard
feat(ecs): add support ECS-optimized Amazon Linux 2023 (Neuron) AMI
Issue # (if applicable)
Closes #
Reason for this change
SSM Parameter naming rule of Amazon ECS-optimized Amazon Linux 2023 (Neuron) AMI is different from Amazon ECS-optimized Amazon Linux 2 (Neuron) AMI.
# Amazon Linux 2023
aws ssm get-parameters --names /aws/service/ecs/optimized-ami/amazon-linux-2023/neuron/recommended
# Amazon Linux 2
aws ssm get-parameters --names /aws/service/ecs/optimized-ami/amazon-linux-2/inf/recommended
Current implementation is not support Amazon Linux 2023, supported Amazon Linux 2 format only. Amazon Linux 2023 is current major version so we need support it.
Description of changes
I created a conditional branch for combining Amazon Linux 2023 and Neuron.
Describe any new or updated permissions being added
None
Description of how you validated changes
I updated integ test. The test launch inf2.xlarge instance using Amazon ECS-optimized Amazon Linux 2023 (Neuron) AMI on deploy-time.
Checklist
- [x] My code adheres to the CONTRIBUTING GUIDE and DESIGN GUIDELINES
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
AWS CodeBuild CI Report
- CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
- Commit ID: a457d7da8926d6e6fc5edfe2c9d6e26606109450
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository