FAQ | This is a LIVE service | Changelog

Commit 08b87d2d authored by Mike Bamford's avatar Mike Bamford
Browse files

temporarily removing uptime_monitoring until a fix can be found for #14

parent 3fdd4024
Pipeline #63056 passed with stage
in 44 seconds
......@@ -178,31 +178,34 @@ resource "google_cloud_run_domain_mapping" "webapp" {
}
}
module "uptime_monitoring" {
for_each = toset(local.monitor_hosts)
# TODO this has been temporarily been removed until a fix can be found for
# https://gitlab.developers.cam.ac.uk/uis/devops/infra/terraform/gcp-cloud-run-app/-/issues/14
source = "git::https://gitlab.developers.cam.ac.uk/uis/devops/infra/terraform/gcp-site-monitoring.git?ref=v1"
# module "uptime_monitoring" {
# for_each = toset(local.monitor_hosts)
host = each.value
project = var.project
# source = "git::https://gitlab.developers.cam.ac.uk/uis/devops/infra/terraform/gcp-site-monitoring.git?ref=v1"
alert_email_addresses = var.alerting_email_address != "" ? [var.alerting_email_address] : []
# host = each.value
# project = var.project
uptime_check = {
# Accept either e.g. "60s" or 60 for timeout and periods for compatibility
# with previous releases.
timeout = tonumber(trimsuffix(var.alerting_uptime_timeout, "s"))
period = tonumber(trimsuffix(var.alerting_uptime_period, "s"))
path = var.monitoring_path
# alert_email_addresses = var.alerting_email_address != "" ? [var.alerting_email_address] : []
alert_enabled = var.alerting_enabled
}
# uptime_check = {
# # Accept either e.g. "60s" or 60 for timeout and periods for compatibility
# # with previous releases.
# timeout = tonumber(trimsuffix(var.alerting_uptime_timeout, "s"))
# period = tonumber(trimsuffix(var.alerting_uptime_period, "s"))
# path = var.monitoring_path
tls_check = {
alert_enabled = var.alerting_enabled
}
# alert_enabled = var.alerting_enabled
# }
providers = {
google = google.stackdriver
}
}
# tls_check = {
# alert_enabled = var.alerting_enabled
# }
# providers = {
# google = google.stackdriver
# }
# }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment