Remove the hard coded ami, instead switch the image class for now to ECS_AL2023, which will accomplish the same goal
This commit is contained in:
parent
2bcbcc6164
commit
76725b4247
1 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,6 @@ rBuildsEcsLaunchTemplate:
|
||||||
VolumeType: gp3
|
VolumeType: gp3
|
||||||
VolumeSize: 96
|
VolumeSize: 96
|
||||||
Encrypted: true
|
Encrypted: true
|
||||||
ImageId: ami-00d4cdb3bda21c6ed # This is al2023-ami-ecs-hvm-2023.0.20240430-kernel-6.1-x86_64
|
|
||||||
MetadataOptions:
|
MetadataOptions:
|
||||||
HttpTokens: required
|
HttpTokens: required
|
||||||
HttpPutResponseHopLimit: 2
|
HttpPutResponseHopLimit: 2
|
||||||
|
|
@ -90,6 +89,8 @@ rBuildsBatchComputeEnvironment:
|
||||||
Type: MANAGED
|
Type: MANAGED
|
||||||
ComputeResources:
|
ComputeResources:
|
||||||
AllocationStrategy: BEST_FIT_PROGRESSIVE
|
AllocationStrategy: BEST_FIT_PROGRESSIVE
|
||||||
|
Ec2Configuration:
|
||||||
|
- ImageType: ECS_AL2023
|
||||||
LaunchTemplate:
|
LaunchTemplate:
|
||||||
LaunchTemplateId:
|
LaunchTemplateId:
|
||||||
Ref: rBuildsEcsLaunchTemplate
|
Ref: rBuildsEcsLaunchTemplate
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue