From 3b0223458b415d8ac371628b9d5f377c3887e215 Mon Sep 17 00:00:00 2001 From: Julio Diez Date: Fri, 24 Feb 2023 11:13:55 +0100 Subject: [PATCH] Don't define nor use health checks with SNEGs SNEGs don't use health checks and it's an error to add one in their backend services. 'terraform plan' doesn't detect it, only 'apply'. --- modules/net-ilb-l7/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/net-ilb-l7/README.md b/modules/net-ilb-l7/README.md index b5862f31e6..b6436e92d5 100644 --- a/modules/net-ilb-l7/README.md +++ b/modules/net-ilb-l7/README.md @@ -326,8 +326,10 @@ module "ilb-l7" { group = "my-neg" max_rate = { per_endpoint = 1 } }] + health_checks = [] } } + health_check_configs = {} neg_configs = { my-neg = { cloudrun = { @@ -343,7 +345,7 @@ module "ilb-l7" { subnetwork = var.subnet.self_link } } -# tftest modules=1 resources=6 +# tftest modules=1 resources=5 ``` ### URL Map