Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit 2ff3d33

Browse files
committed
Add ECS_AL2 for spot environment as well
1 parent e1848eb commit 2ff3d33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/templates/gwfcore/gwfcore-batch.template.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ Resources:
128128
Type: MANAGED
129129
State: ENABLED
130130
ComputeResources:
131+
Ec2Configuration:
132+
- ImageType: ECS_AL2
131133
AllocationStrategy: SPOT_CAPACITY_OPTIMIZED
132134
# Set the Spot price to 100% of on-demand price
133135
# This is the maximum price for spot instances that Batch will launch.

0 commit comments

Comments
 (0)