Skip to content

Commit

Permalink
remove changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Filinto Duran committed Sep 2, 2021
1 parent c2bd137 commit 506da5a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions workers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ resource "aws_autoscaling_group" "workers" {
"capacity_rebalance",
local.workers_group_defaults["capacity_rebalance"]
)
timeouts {
delete = lookup(
var.worker_groups[count.index],
"delete_timeout",
local.workers_group_defaults["asg_delete_timeout"]
)
}

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
7 changes: 7 additions & 0 deletions workers_launch_template.tf
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ resource "aws_autoscaling_group" "workers_launch_template" {
"capacity_rebalance",
local.workers_group_defaults["capacity_rebalance"]
)
timeouts {
delete = lookup(
var.worker_groups_launch_template[count.index],
"delete_timeout",
local.workers_group_defaults["asg_delete_timeout"]
)
}

dynamic "mixed_instances_policy" {
iterator = item
Expand Down

0 comments on commit 506da5a

Please sign in to comment.