Use latest version of the launch template

Changes to the launch template (e.g., ECS volume type/size) were not being
applied because the launch template was set to the default version 1 rather
than the latest changed version.
This commit is contained in:
Greg Lin 2022-08-26 11:35:02 -05:00
commit 4c91f1e9d6

View file

@ -96,6 +96,7 @@ rBuildsBatchComputeEnvironment:
LaunchTemplate:
LaunchTemplateId:
Ref: rBuildsEcsLaunchTemplate
Version: '$Latest'
SpotIamFleetRole:
"Fn::GetAtt": [ rBuildsSpotFleetIamRole, Arn ]
SecurityGroupIds: ${self:custom.securityGroupIds}