aws-cdk
aws-cdk copied to clipboard
fix(ec2): unavailable kernel version for Amazon Linux 2022 fails deployment (under feature flag)
Amazon Linux 2022 is in preview release
It appears that previous kernel versions are not retained in this phase. While existing deployments will still work, it is not possible to create/update instances with an old kernel version.
This change will change the kernel version for all customers to the default version, unless they have opted into a specific version. Since the AL22 is in preview, we deem this an acceptable breaking change.
https://docs.aws.amazon.com/linux/al2022/ug/naming-and-versioning.html
Fixes #21011 Replaces #21438
All Submissions:
- [x] Have you followed the guidelines in our Contributing guide?
Adding new Unconventional Dependencies:
- [ ] This PR adds new unconventional dependencies following the process described here
New Features
- [ ] Have you added the new feature to an integration test?
- [ ] Did you use
yarn integ
to deploy the infrastructure and generate the snapshot (i.e.yarn integ
without--dry-run
)?
- [ ] Did you use
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: c1a11983cad0f2e51057c232646b316e249b78dc
- Result: SUCCEEDED
- Build Logs (available for 30 days)
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Discussed this with @otaviomacedo and @corymhall and it appears there's no quick win to fix this without breaking people. We'll look into a more generic proposal.