Skip to content

Commit 85a1840

Browse files
leepaRomainMuller
authored andcommitted
fix(aws-ec2): All SSM WindowsVersion entries (#1977)
Spurred on by Windows Server 2019 being missing as well as Windows Server 2016 Full English Base I extracted the full list using the blog post's example command to retreive them all and then filtered and macroed it into this list. The tests were using an invalid enum entry that pointed to a Parameter Store entry which doesn't actually exist - fixed that too.
1 parent f06ff8e commit 85a1840

File tree

3 files changed

+221
-18
lines changed

3 files changed

+221
-18
lines changed

packages/@aws-cdk/aws-autoscaling/test/example.images.lit.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import ec2 = require("@aws-cdk/aws-ec2");
22

33
/// !show
44
// Pick a Windows edition to use
5-
const windows = new ec2.WindowsImage(ec2.WindowsVersion.WindowsServer2016EnglishNanoBase);
5+
const windows = new ec2.WindowsImage(ec2.WindowsVersion.WindowsServer2019EnglishFullBase);
66

77
// Pick the right Amazon Linux edition. All arguments shown are optional
88
// and will default to these values when omitted.

0 commit comments

Comments
 (0)