Skip to content

Commit dfbb882

Browse files
author
Filinto Duran
committed
update timeouts make consistent
1 parent 56e93d7 commit dfbb882

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

workers.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ resource "aws_autoscaling_group" "workers" {
103103
"capacity_rebalance",
104104
local.workers_group_defaults["capacity_rebalance"]
105105
)
106+
timeouts {
107+
delete = lookup(each.value["timeouts"], "delete", null)
108+
}
106109

107110
dynamic "initial_lifecycle_hook" {
108111
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"]) : []

workers_launch_template.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ resource "aws_autoscaling_group" "workers_launch_template" {
102102
"capacity_rebalance",
103103
local.workers_group_defaults["capacity_rebalance"]
104104
)
105+
timeouts {
106+
delete = lookup(each.value["timeouts"], "delete", null)
107+
}
105108

106109
dynamic "mixed_instances_policy" {
107110
iterator = item

0 commit comments

Comments
 (0)