Skip to content

Commit

Permalink
Change allocation_strategy to force compute environment recreate.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkinsspatial committed Jun 25, 2024
1 parent 7d79079 commit b70d15a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stack/hlsconstructs/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def __init__(
)

compute_resources = aws_batch.CfnComputeEnvironment.ComputeResourcesProperty(
allocation_strategy="BEST_FIT_PROGRESSIVE",
# allocation_strategy="BEST_FIT_PROGRESSIVE",
allocation_strategy="SPOT_CAPACITY_OPTIMIZED",
desiredv_cpus=0,
image_id=image_id,
instance_role=ecs_instance_profile.ref,
Expand Down

0 comments on commit b70d15a

Please sign in to comment.