Skip to content

Commit

Permalink
feat(ec2): add new latest amazon linux machine images (#25083)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
corymhall authored Apr 13, 2023
1 parent d71ae00 commit 01fd89a
Show file tree
Hide file tree
Showing 20 changed files with 3,685 additions and 171 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"31.0.0"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "31.0.0",
"files": {
"09b19c98d056dc3ddd9d9852de04232c8c27cdfbb4aa83797c6f9e1e118068d5": {
"source": {
"path": "integ-ec2-machine-image-test.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "09b19c98d056dc3ddd9d9852de04232c8c27cdfbb4aa83797c6f9e1e118068d5.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
}
},
"dockerImages": {}
}
Loading

0 comments on commit 01fd89a

Please sign in to comment.