Skip to content

Commit 56e8cad

Browse files
committed
Fix AMI references
1 parent da20374 commit 56e8cad

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

spire/templates/shared-ecs/asg-aarch64.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,21 @@ Description: >-
1111
1212
Parameters:
1313
kStagingImageId:
14-
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
14+
Type: AWS::EC2::Image::Id
1515
# Update this value to change which AMI the launch template uses. You can
16-
# find the latest image name here:
17-
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_name
18-
# ▼ Put it here ▼
19-
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64/image_id
16+
# find the latest image ID here:
17+
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id
18+
# You can see the full version and other information about that image here:
19+
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
20+
Default: ami-08b476084597865a0 # al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64
2021
kProductionImageId:
21-
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
22+
Type: AWS::EC2::Image::Id
2223
# Update this value to change which AMI the launch template uses. You can
23-
# find the latest image name here:
24-
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_name
25-
# ▼ Put it here ▼
26-
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64/image_id
24+
# find the latest image ID here:
25+
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id
26+
# You can see the full version and other information about that image here:
27+
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
28+
Default: ami-08b476084597865a0 # al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64
2729
########
2830
EnvironmentType: { Type: String }
2931
RegionMode: { Type: String }

spire/templates/shared-ecs/asg-x86-64.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,19 @@ Description: >-
1111
1212
Parameters:
1313
kStagingImageId:
14-
Type: AWS::EC2::Image::Id
14+
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
1515
# Update this value to change which AMI the launch template uses. You can
16-
# find the latest image ID here:
17-
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id
18-
# You can see the full version and other information about that image here:
19-
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
20-
Default: ami-08b476084597865a0 # al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64
16+
# find the latest image name here:
17+
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_name
18+
# ▼ Put it here ▼
19+
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241115-kernel-6.1-x86_64/image_id
2120
kProductionImageId:
22-
Type: AWS::EC2::Image::Id
21+
Type: AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>
2322
# Update this value to change which AMI the launch template uses. You can
24-
# find the latest image ID here:
25-
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended/image_id
26-
# You can see the full version and other information about that image here:
27-
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/arm64/recommended
28-
Default: ami-08b476084597865a0 # al2023-ami-ecs-hvm-2023.0.20241217-kernel-6.1-arm64
23+
# find the latest image name here:
24+
# https://us-east-1.console.aws.amazon.com/systems-manager/parameters/aws/service/ecs/optimized-ami/amazon-linux-2023/recommended/image_name
25+
# ▼ Put it here ▼
26+
Default: /aws/service/ecs/optimized-ami/amazon-linux-2023/al2023-ami-ecs-hvm-2023.0.20241115-kernel-6.1-x86_64/image_id
2927
########
3028
EnvironmentType: { Type: String }
3129
RegionMode: { Type: String }

0 commit comments

Comments
 (0)