-
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
chore(ec2): update WindowsVersions enum #29435
Conversation
I'd accidentally removed some of the previous enum values, I restored them and made sure I didn't miss any: $ git checkout chore-ec2-windows-versions
$ grep -i '^ WINDOWS' lib/windows-versions.ts | sort > new_versions
$ git checkout main
$ grep -i '^ WINDOWS' lib/windows-versions.ts | sort > old_versions
$ diff old_versions new_versions | grep -i '^<' |
@@ -912,7 +912,7 @@ export enum WindowsVersion { | |||
WINDOWS_SERVER_2019_ENGLISH_CORE_BASE_2023_12_13 = 'Windows_Server-2019-English-Core-Base-2023.12.13', | |||
WINDOWS_SERVER_2019_ENGLISH_CORE_BASE_2024_01_16 = 'Windows_Server-2019-English-Core-Base-2024.01.16', | |||
WINDOWS_SERVER_2019_ENGLISH_CORE_BASE_2024_02_14 = 'Windows_Server-2019-English-Core-Base-2024.02.14', | |||
/** @deprecated */ | |||
/** @deprecated - no longer supported */ |
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.
Not sure why or when Windows_Server-2019-English-Core-ContainersLatest
and Windows_Server-2019-English-Full-ContainersLatest
were removed, see Windows AMI version history, but they are unavaialble:
$ aws ec2 describe-images --owners amazon --filters 'Name=name,Values=Windows_Server-2019-English-Core-ContainersLatest'
{
"Images": []
}
$ aws ec2 describe-images --owners amazon --filters 'Name=name,Values=Windows_Server-2019-English-Full-ContainersLatest'
{
"Images": []
}
@@ -932,7 +932,7 @@ export enum WindowsVersion { | |||
WINDOWS_SERVER_2019_ENGLISH_FULL_BASE_2023_12_13 = 'Windows_Server-2019-English-Full-Base-2023.12.13', | |||
WINDOWS_SERVER_2019_ENGLISH_FULL_BASE_2024_01_16 = 'Windows_Server-2019-English-Full-Base-2024.01.16', | |||
WINDOWS_SERVER_2019_ENGLISH_FULL_BASE_2024_02_14 = 'Windows_Server-2019-English-Full-Base-2024.02.14', | |||
/** @deprecated */ | |||
/** @deprecated - no longer supported */ |
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.
See f3092e6
(#29435)
What Region did you use? us-east-1? Could there be any differences by Region? |
@msambol Yes, I'm using |
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.
That is... so many. Thanks for taking the time to get these added!
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Issue # (if applicable)
Could not find any in the backlog
Reason for this change
Update the CDK EC2 listed Windows versions to match the current availability
Description of changes
Description of how you validated changes
Once again, I'm comparing the CDK enumeration to live SDK data, this time using the
ec2:DescribeImages
API command, with the following parameters:Images that are no longer listed by this command are marked as
@deprecated
, and new images are added to the enumChecklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license