terraform-google-modules/terraform-google-lb-internal

Updating health check type fails

ocervell opened this issue · 0 comments

Trying to update health check type (e.g: change the healthcheck type from 'tcp' to 'http') result in following issue:

Error: Error reading HealthCheck: googleapi: Error 400: The health_check resource 'projects/rnm-sharedsvcs-net-squid-9dbc/global/healthChecks/squid-ilb-hc' is already being use
d by 'projects/rnm-sharedsvcs-net-squid-9dbc/regions/europe-west1/backendServices/squid-ilb', resourceInUseByAnotherResource

Error: Error creating HealthCheck: googleapi: Error 409: The resource 'projects/rnm-sharedsvcs-net-squid-9dbc/global/healthChecks/squid-ilb-hc' already exists, alreadyExists