Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions terraform/asg.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,17 @@ module "autoscaling" {
# ]
}

# A new AMI bumps the launch template version; roll instances onto it automatically
instance_refresh = {
strategy = "Rolling"
preferences = {
min_healthy_percentage = 100
max_healthy_percentage = 150
instance_warmup = 300
skip_matching = true
}
}

image_id = local.ecs_ami_id
user_data = base64encode(local.user_data)
ignore_desired_capacity_changes = true
Expand Down
Loading