Skip to content

Commit

Permalink
update timeouts make consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Filinto Duran committed Nov 8, 2021
1 parent 56e93d7 commit dfbb882
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"]) : []
Expand Down
3 changes: 3 additions & 0 deletions workers_launch_template.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dfbb882

Please sign in to comment.