Skip to content

Commit

Permalink
Change spot_allocation_strategy to price-capacity-optimized from lowe…
Browse files Browse the repository at this point in the history
…st-price
  • Loading branch information
hhlee445 committed Apr 3, 2024
1 parent 99397ce commit 71f15f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster_provisioning/modules/common/asg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ resource "aws_autoscaling_group" "autoscaling_group" {
]
mixed_instances_policy {
instances_distribution {
spot_allocation_strategy = "lowest-price"
spot_instance_pools = 3
spot_allocation_strategy = "price-capacity-optimized"
spot_instance_pools = 0
on_demand_base_capacity = 0
on_demand_percentage_above_base_capacity = 0
}
Expand Down

0 comments on commit 71f15f0

Please sign in to comment.