Skip to content

Commit bc527c0

Browse files
authored
eks/actions-runner-controller: use coalesce (cloudposse/terraform-aws-components#586)
1 parent 1042197 commit bc527c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ module "actions_runner" {
216216
min_replicas = each.value.min_replicas
217217
max_replicas = each.value.max_replicas
218218
webhook_driven_scaling_enabled = each.value.webhook_driven_scaling_enabled
219-
webhook_startup_timeout = try(each.value.webhook_startup_timeout, "${each.value.scale_down_delay_seconds}s") # if webhook_startup_timeout isnt defined, use scale_down_delay_seconds
219+
webhook_startup_timeout = coalesce(each.value.webhook_startup_timeout, "${each.value.scale_down_delay_seconds}s") # if webhook_startup_timeout isnt defined, use scale_down_delay_seconds
220220
pull_driven_scaling_enabled = each.value.pull_driven_scaling_enabled
221221
pvc_enabled = each.value.pvc_enabled
222222
}),

0 commit comments

Comments
 (0)