Skip to content

Commit

Permalink
fix(aws-ec2): All SSM WindowsVersion entries (#1977)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
leepa authored and RomainMuller committed Mar 8, 2019
1 parent f06ff8e commit 85a1840
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ec2 = require("@aws-cdk/aws-ec2");

/// !show
// Pick a Windows edition to use
const windows = new ec2.WindowsImage(ec2.WindowsVersion.WindowsServer2016EnglishNanoBase);
const windows = new ec2.WindowsImage(ec2.WindowsVersion.WindowsServer2019EnglishFullBase);

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

0 comments on commit 85a1840

Please sign in to comment.