-
Notifications
You must be signed in to change notification settings - Fork 4k
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
β NOTICE(ec2): new WindowsVersion
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
#29736
β NOTICE(ec2): new WindowsVersion
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
#29736
Comments
I'll have a look, thanks for letting me know π |
Yeah, didn't see that issue, sorry about that. I think keeping the datestamped, non-generic versions around would be best, given the replacement issues with new ec2.Instance(this, 'WindowsLatestLookup', {
instanceType,
machineImage: ec2.MachineImage.latestWindows(
ec2.WindowsVersion.WINDOWS_SERVER_2022_ENGLISH_FULL_BASE,
),
vpc,
});
new ec2.Instance(this, 'WindowsSpecificVersion', {
instanceType,
machineImage: ec2.MachineImage.specificWindows(
ec2.WindowsSpecificVersion.WINDOWS_SERVER_2022_ENGLISH_FULL_BASE_2024_02_14,
),
vpc,
});
Should have a fix ready in the next few hours |
WindowsVersions
enum values brokenWindowsVersions
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
WindowsVersions
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
WindowsVersions
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
|
WindowsVersions
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
WindowsVersion
enum values used in WindowsImage()
gives: Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-<Specific-Image>-<YYYY.MM.DD>] from parameter store for this account.
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. |
Please add your +1 π to let us know you have encountered this
Status: IN-PROGRESS
Overview:
Present in v2.135.0-v2.136.0
The only impact to existing applications is a deprecation notice. You can safely ignore this.
#29435 updated the windows versions enums. The new enums suffixed with dates (i.e.
WINDOWS_SERVER_2022_ENGLISH_FULL_BASE_2024_02_14
) are not found when used in constructs that extendGenericSSMParameterImage
. The working enums were mistakenly deprecated (i.e.WINDOWS_SERVER_2022_ENGLISH_FULL_BASE
).When deployed gives the following error.
Complete Error Message:
Deployment failed: Error [ValidationError]: Unable to fetch parameters [/aws/service/ami-windows-latest/Windows_Server-2022-English-Full-Base-1.28-2024.02.13] from parameter store for this account.
Workaround:
Continue to use the wrongly deprecated enum values that are not suffixed with dates.
Solution:
We issue has been reverted and the fix is in place as of
v2.136.1
.The text was updated successfully, but these errors were encountered: