Skip to content

feat(cfn/vpn/ami): fetch AL2023 AMIs instead of Amazon Linux 2#14

Open
alexzhangs wants to merge 1 commit into
developfrom
feature/al2023-ami
Open

feat(cfn/vpn/ami): fetch AL2023 AMIs instead of Amazon Linux 2#14
alexzhangs wants to merge 1 commit into
developfrom
feature/al2023-ami

Conversation

@alexzhangs

Copy link
Copy Markdown
Collaborator

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 swap amzn2-ami-hvm-${arch}-gp2al2023-ami-kernel-default-${arch} (same /aws/service/ami-amazon-linux-latest namespace — both parameters verified to exist).
  • Doc comments refreshed with real AL2023 output (gp3-backed, kernel-default flavor); noted the AL2 EOS context.

The output contract is unchanged: key names (nameAmd64/AMIAmd64/nameArm64/AMIArm64/created/location), ordering, indentation, and the 2-space x-file-inject anchors 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

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant