Loading main.tf +2 −0 Original line number Diff line number Diff line Loading @@ -184,6 +184,8 @@ module "uptime_check_auth_proxy" { environment_variables = { TARGET_URL = "https://${trimsuffix(var.host, "/")}/${trimprefix(coalesce(var.uptime_check.path, "/"), "/")}" } local_files_dir = var.local_files_dir } resource "google_cloud_run_service_iam_member" "uptime_check_invoker" { Loading variables.tf +9 −3 Original line number Diff line number Diff line Loading @@ -51,9 +51,15 @@ variable "alert_notification_channels" { EOL } # Terraform 0.14 has support for object types with optional attributes, although the feature is # experimental. Once we transition to a version of Terraform where the feature is no longer # experimental, we should make use of the feature. variable "local_files_dir" { description = <<-EOT A local directory where files may be created which persist between runs but which are not checked into source control. This variable is only used to be passed to the gcp-function module call. EOT type = string default = null } variable "uptime_check" { type = map(any) Loading Loading
main.tf +2 −0 Original line number Diff line number Diff line Loading @@ -184,6 +184,8 @@ module "uptime_check_auth_proxy" { environment_variables = { TARGET_URL = "https://${trimsuffix(var.host, "/")}/${trimprefix(coalesce(var.uptime_check.path, "/"), "/")}" } local_files_dir = var.local_files_dir } resource "google_cloud_run_service_iam_member" "uptime_check_invoker" { Loading
variables.tf +9 −3 Original line number Diff line number Diff line Loading @@ -51,9 +51,15 @@ variable "alert_notification_channels" { EOL } # Terraform 0.14 has support for object types with optional attributes, although the feature is # experimental. Once we transition to a version of Terraform where the feature is no longer # experimental, we should make use of the feature. variable "local_files_dir" { description = <<-EOT A local directory where files may be created which persist between runs but which are not checked into source control. This variable is only used to be passed to the gcp-function module call. EOT type = string default = null } variable "uptime_check" { type = map(any) Loading