You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use this module (modules/mig) to declare MIG. we also define google_compute_backend_service and google_compute_health_check in our TF file. We now want to share the existing health check between backend service and MIG but it seems there is no way of doing so without destroying and recreating existing health check. It would be nice if modules/mig can accept externally created healthcheck like google_compute_backend_service does.
I certainly can - I just prefer reusing existing one so I don't have to worry about potentially breaking something. Also google_compute_health_check looks nicer IMO because of #153
Unfortunately I don't think we're likely to allow passing in an external health check as it would complicate the interface and we have a usable workaround.
#153 is definitely something we want fixed eventually.
We currently use this module (modules/mig) to declare MIG. we also define
google_compute_backend_service
andgoogle_compute_health_check
in our TF file. We now want to share the existing health check between backend service and MIG but it seems there is no way of doing so without destroying and recreating existing health check. It would be nice if modules/mig can accept externally created healthcheck likegoogle_compute_backend_service
does.Our terraform config for reference:
The text was updated successfully, but these errors were encountered: