feat(cfn/vpn/ami): fetch AL2023 AMIs instead of Amazon Linux 2#14
Open
alexzhangs wants to merge 1 commit into
Open
feat(cfn/vpn/ami): fetch AL2023 AMIs instead of Amazon Linux 2#14alexzhangs wants to merge 1 commit into
alexzhangs wants to merge 1 commit into
Conversation
Amazon Linux 2 reaches end of support on 2026-06-30. Swap the SSM parameter from amzn2-ami-hvm-<arch>-gp2 to al2023-ami-kernel-default-<arch> (same /aws/service/ ami-amazon-linux-latest namespace) and refresh the doc comments with real AL2023 output. The output contract (key names, ordering, indentation, x-file-inject anchors) is unchanged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Amazon Linux 2 reaches end of support on 2026-06-30; aws-cfn-vpn is moving its RegionMap and userdata to AL2023 (alexzhangs/aws-cfn-vpn#20).
What
__get_ami_id__: SSM parameter swapamzn2-ami-hvm-${arch}-gp2→al2023-ami-kernel-default-${arch}(same/aws/service/ami-amazon-linux-latestnamespace — both parameters verified to exist).The output contract is unchanged: key names (
nameAmd64/AMIAmd64/nameArm64/AMIArm64/created/location), ordering, indentation, and the 2-spacex-file-injectanchors into stack.json. AL2023 publishes arm64 in all 17 standard regions, so the arm64-omitted branch now only triggers for genuinely arm64-less regions.Used (logic-equivalent run) to regenerate the aws-cfn-vpn RegionMap in alexzhangs/aws-cfn-vpn#20.
🤖 Generated with Claude Code