Skip to content

Commit

Permalink
fix vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmacedot committed Jan 30, 2025
1 parent bdda2e4 commit 38ef0c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ variable "architecture" {
description = "Architecture to select the AMI, x86_64 or arm64"
}

variable "on_demand_percentage" {
variable "on_demand_percentage_above_base_capacity" {
description = "Percentage of on-demand intances vs spot."
default = 100
}
Expand Down
2 changes: 1 addition & 1 deletion asg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ resource "aws_autoscaling_group" "ecs" {
instances_distribution {
spot_instance_pools = var.spot_instance_pools
on_demand_base_capacity = var.on_demand_base_capacity
on_demand_percentage_above_base_capacity = var.on_demand_percentage
on_demand_percentage_above_base_capacity = var.on_demand_percentage_above_base_capacity
spot_allocation_strategy = var.spot_allocation_strategy
on_demand_allocation_strategy = var.on_demand_allocation_strategy
}
Expand Down

0 comments on commit 38ef0c4

Please sign in to comment.