feat: Add customizable Auto Scaling Group health check type (#1118)

This commit is contained in:
svaranasi-traderev
2020-12-22 05:55:43 -05:00
committed by GitHub
parent b0f51fdbe5
commit ccacc17792
3 changed files with 11 additions and 0 deletions

View File

@@ -87,6 +87,11 @@ resource "aws_autoscaling_group" "workers_launch_template" {
"default_cooldown",
local.workers_group_defaults["default_cooldown"]
)
health_check_type = lookup(
var.worker_groups_launch_template[count.index],
"health_check_type",
local.workers_group_defaults["health_check_type"]
)
health_check_grace_period = lookup(
var.worker_groups_launch_template[count.index],
"health_check_grace_period",