-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(ecs): machineImageType support AL2023 #32509
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #32509 +/- ##
=======================================
Coverage 78.66% 78.66%
=======================================
Files 107 107
Lines 7161 7161
Branches 1320 1320
=======================================
Hits 5633 5633
Misses 1343 1343
Partials 185 185
Flags with carried forward coverage won't be shown. Click here to find out more.
|
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment to confirm prior to approving
case MachineImageType.AMAZON_LINUX_2023: { | ||
autoScalingGroup.addUserData('sudo iptables-save'); | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you confirm for AL2023
, the old command sudo service iptables save
doesn't work to make sure this is not a breaking change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your review @GavinZZ. This is the old command on latest ECS optimized AL2023 ami-0a357ea20d7b79c2c
Issue # (if applicable)
Closes #32496
Relate #32469
Reason for this change
Description of changes
machineImageType
support AL2023Description of how you validated changes
Unit + Integration test
Instance can join cluster
iptables command success
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license