feat(eks): support CUSTOM amiType
Issue # (if applicable)
Closes #30641.
Reason for this change
Node groups with custom AMI are supported by CloudFormation, but not by CDK. This adds that support.
Description of changes
- added
CUSTOMto theNodegroupAmiTypeenum - always add
CUSTOMtopossibleAmiTypeswhen validatinginstanceTypesCPU architecture againstamiType - verify that
launchTemplateSpecis defined when usingCUSTOM
Description of how you validated changes
Added unit tests checking valid deployment as well as failure when CUSTOM is used, but launchTemplateSpec isn't defined.
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: 432ead4c4c5786a379005f5bd08f0ee8d5b2d58d
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
This PR has been in the CHANGES REQUESTED state for 3 weeks, and looks abandoned. To keep this PR from being closed, please continue work on it. If not, it will automatically be closed in a week.
This PR has been deemed to be abandoned, and will be automatically closed. Please create a new PR for these changes if you think this decision has been made in error.
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.