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.
2 parents 17494bd + 8004b05 commit 82ebb84Copy full SHA for 82ebb84
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