Skip to content

Commit

Permalink
Use static image ID for aarch64 launch template
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jan 8, 2025
1 parent cd692b0 commit da20374
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions spire/templates/shared-ecs/asg-x86-64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ Description: >-
Parameters:
kStagingImageId:
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
Type: AWS::EC2::Image::Id
# Update this value to change which AMI the launch template uses. You can
# find the latest image name here:
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_name
# ▼ Put it here ▼
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241115-kernel-6.1-x86_64/image_id
# find the latest image ID here:
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id
# You can see the full version and other information about that image here:
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
Default: ami-08b476084597865a0 # al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64
kProductionImageId:
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
Type: AWS::EC2::Image::Id
# Update this value to change which AMI the launch template uses. You can
# find the latest image name here:
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_name
# ▼ Put it here ▼
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241115-kernel-6.1-x86_64/image_id
# find the latest image ID here:
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id
# You can see the full version and other information about that image here:
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
Default: ami-08b476084597865a0 # al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64
########
EnvironmentType: { Type: String }
RegionMode: { Type: String }
Expand Down

0 comments on commit da20374

Please sign in to comment.