We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17494bd commit 8004b05Copy full SHA for 8004b05
modules/mig/main.tf
@@ -51,8 +51,8 @@ resource "google_compute_region_instance_group_manager" "mig" {
51
target_size = var.autoscaling_enabled ? var.min_replicas : var.target_size
52
53
auto_healing_policies {
54
- health_check = length(local.healthchecks) > 0 ? local.healthchecks[0] : null
55
- initial_delay_sec = length(local.healthchecks) > 0 ? var.hc_initial_delay_sec : null
+ health_check = length(local.healthchecks) > 0 ? local.healthchecks[0] : ""
+ initial_delay_sec = length(local.healthchecks) > 0 ? var.hc_initial_delay_sec : 0
56
}
57
distribution_policy_zones = local.distribution_policy_zones
58
dynamic "update_policy" {
0 commit comments