Skip to content

Commit

Permalink
Fix AMI references
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Jan 8, 2025
1 parent da20374 commit 56e8cad
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 12 additions & 10 deletions spire/templates/shared-ecs/asg-aarch64.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/arm64/recommended/image_name
# ▼ Put it here ▼
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64/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/arm64/recommended/image_name
# ▼ Put it here ▼
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64/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
22 changes: 10 additions & 12 deletions spire/templates/shared-ecs/asg-x86-64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,19 @@ Description: >-
Parameters:
kStagingImageId:
Type: AWS::EC2::Image::Id
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
# Update this value to change which AMI the launch template uses. You can
# 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
# 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
kProductionImageId:
Type: AWS::EC2::Image::Id
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
# Update this value to change which AMI the launch template uses. You can
# 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
# 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
########
EnvironmentType: { Type: String }
RegionMode: { Type: String }
Expand Down

0 comments on commit 56e8cad

Please sign in to comment.