GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples

CF template: external load balancer template fails due to health check

Open
#469 3 comments 0 reactions 0 assignees View on GitHub
bug cloud-foundations
Dominant language
Jinja
Stars
951
Forks
700
PR merge metrics
No merged PRs in 30d

Description

When deploying the [external load balancer templates](https://github.com/GoogleCloudPlatform/deploymentmanager-samples/tree/master/community/cloud-foundation/templates/external_load_balancer) with `healthCheck` set to the `selfLink` of a previously defined health check resource (eg.: `$(ref.my-health-check.selfLink)`), I get the following error:

```
Invalid value for field 'resource.healthChecks[0]':
'https://www.googleapis.com/compute/v1/projects/xxx/global/httpHealthChecks/my-health-check'.
This TCP/UDP/SSL backend service only supports HealthCheck"
```

I've also tried setting `healthCheck` to the hardcoded self link (`projects/xxx/global/httpHealthChecks/my-health-check`) but the error persists.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.