File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ resource "aws_autoscaling_group" "enclave_track" {
9090
9191 mixed_instances_policy {
9292 instances_distribution {
93- on_demand_base_capacity = each. value . track_value . autoscaling_group . size
93+ on_demand_base_capacity = each. value . track_value . autoscaling_group . size
94+ on_demand_percentage_above_base_capacity = var. on_demand_percentage_above_base_capacity
9495 }
9596
9697 launch_template {
Original file line number Diff line number Diff line change @@ -714,3 +714,9 @@ variable "aws_autoscaling_group_enabled" {
714714 type = bool
715715 default = true
716716}
717+
718+ variable "on_demand_percentage_above_base_capacity" {
719+ description = " The percentage of on-demand instances to use above the base capacity"
720+ type = number
721+ default = 50
722+ }
You can’t perform that action at this time.
0 commit comments