Skip to content

Commit 01fd89a

Browse files
authored
feat(ec2): add new latest amazon linux machine images (#25083)
This PR introduces 3 new methods on `MachineImage` corresponding to the 3 available generations of amazon linux. We will be deprecating the `latestAmazonLinux` method in favor of these separate methods per generation. Each generation is a slightly different format, and having them separate is more clear to the user what `latest` means. closes #21011, closes #24873, closes #23523 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent d71ae00 commit 01fd89a

20 files changed

+3685
-171
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":"31.0.0"}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": "31.0.0",
3+
"files": {
4+
"09b19c98d056dc3ddd9d9852de04232c8c27cdfbb4aa83797c6f9e1e118068d5": {
5+
"source": {
6+
"path": "integ-ec2-machine-image-test.template.json",
7+
"packaging": "file"
8+
},
9+
"destinations": {
10+
"current_account-current_region": {
11+
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
12+
"objectKey": "09b19c98d056dc3ddd9d9852de04232c8c27cdfbb4aa83797c6f9e1e118068d5.json",
13+
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
14+
}
15+
}
16+
}
17+
},
18+
"dockerImages": {}
19+
}

0 commit comments

Comments
 (0)