0
0
llucycodes42
The google_compute_https_health_check resource will check the health of your web server and send an email if there are any problems detected. The name property is the name of the resource and the request_path property is the path to your web server that the health check should be performed on. The timeout_sec and check_interval_sec properties define how often the health check should be performed and in how many seconds, respectively.
Shortcut: tf_google_compute_https_health_check
resource "google_compute_https_health_check" "${MyResource}" {
name = "example-name"
request_path = "/health_check"
timeout_sec = 1
check_interval_sec = 1
}