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'.
This commit is contained in:
Julio Diez 2023-02-24 11:13:55 +01:00 committed by GitHub
parent afb2970731
commit 3b0223458b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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