From dfbb88269b05131c3a0decd5c32d4438103c69f4 Mon Sep 17 00:00:00 2001 From: Filinto Duran Date: Thu, 2 Sep 2021 15:48:18 -0500 Subject: [PATCH] update timeouts make consistent --- workers.tf | 3 +++ workers_launch_template.tf | 3 +++ 2 files changed, 6 insertions(+) diff --git a/workers.tf b/workers.tf index 610c41709e..34f6c42756 100644 --- a/workers.tf +++ b/workers.tf @@ -103,6 +103,9 @@ resource "aws_autoscaling_group" "workers" { "capacity_rebalance", local.workers_group_defaults["capacity_rebalance"] ) + timeouts { + delete = lookup(each.value["timeouts"], "delete", null) + } dynamic "initial_lifecycle_hook" { for_each = var.worker_create_initial_lifecycle_hooks ? lookup(var.worker_groups[count.index], "asg_initial_lifecycle_hooks", local.workers_group_defaults["asg_initial_lifecycle_hooks"]) : [] diff --git a/workers_launch_template.tf b/workers_launch_template.tf index df2928dc5d..857e8dd090 100644 --- a/workers_launch_template.tf +++ b/workers_launch_template.tf @@ -102,6 +102,9 @@ resource "aws_autoscaling_group" "workers_launch_template" { "capacity_rebalance", local.workers_group_defaults["capacity_rebalance"] ) + timeouts { + delete = lookup(each.value["timeouts"], "delete", null) + } dynamic "mixed_instances_policy" { iterator = item