Skip to content

Commit

Permalink
add max_healthy_percentage
Browse files Browse the repository at this point in the history
  • Loading branch information
scott-doyland-burrows committed Oct 29, 2024
1 parent aec9138 commit 46e031b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ resource "aws_autoscaling_group" "default" {
content {
instance_warmup = lookup(preferences.value, "instance_warmup", null)
min_healthy_percentage = lookup(preferences.value, "min_healthy_percentage", null)
max_healthy_percentage = lookup(preferences.value, "max_healthy_percentage", null)
skip_matching = lookup(preferences.value, "skip_matching", null)
auto_rollback = lookup(preferences.value, "auto_rollback", null)
scale_in_protected_instances = lookup(preferences.value, "scale_in_protected_instances", null)
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ variable "instance_refresh" {
preferences = optional(object({
instance_warmup = optional(number, null)
min_healthy_percentage = optional(number, null)
max_healthy_percentage = optional(number, null)
skip_matching = optional(bool, null)
auto_rollback = optional(bool, null)
scale_in_protected_instances = optional(string, null)
Expand Down

0 comments on commit 46e031b

Please sign in to comment.