aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

fix(ec2): unavailable kernel version for Amazon Linux 2022 fails deployment (under feature flag)

Open mrgrain opened this issue 2 years ago • 2 comments

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:

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)?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

mrgrain avatar Aug 10 '22 11:08 mrgrain

gitpod-io[bot] avatar Aug 10 '22 11:08 gitpod-io[bot]

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

aws-cdk-automation avatar Aug 11 '22 13:08 aws-cdk-automation

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.

mrgrain avatar Aug 11 '22 14:08 mrgrain