From 76725b4247b73422da54fd60e32e2c2671b4e191 Mon Sep 17 00:00:00 2001 From: "Joshua C. Forest" Date: Thu, 16 May 2024 10:13:20 -0400 Subject: [PATCH] Remove the hard coded ami, instead switch the image class for now to ECS_AL2023, which will accomplish the same goal --- serverless-resources.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serverless-resources.yml b/serverless-resources.yml index 2a44a68..f239e72 100644 --- a/serverless-resources.yml +++ b/serverless-resources.yml @@ -79,7 +79,6 @@ rBuildsEcsLaunchTemplate: VolumeType: gp3 VolumeSize: 96 Encrypted: true - ImageId: ami-00d4cdb3bda21c6ed # This is al2023-ami-ecs-hvm-2023.0.20240430-kernel-6.1-x86_64 MetadataOptions: HttpTokens: required HttpPutResponseHopLimit: 2 @@ -90,6 +89,8 @@ rBuildsBatchComputeEnvironment: Type: MANAGED ComputeResources: AllocationStrategy: BEST_FIT_PROGRESSIVE + Ec2Configuration: + - ImageType: ECS_AL2023 LaunchTemplate: LaunchTemplateId: Ref: rBuildsEcsLaunchTemplate