Commit 2afe0862 authored by Alex Hanselka's avatar Alex Hanselka

use a non-iap LB for monitor

parent 135ae69e
......@@ -140,7 +140,21 @@ module "dashboards" {
vpc = "${module.network.self_link}"
}
module "monitor-lb" {
environment = "${var.environment}"
source = "../../modules/google/web-iap"
name = "monitor"
project = "${var.project}"
region = "${var.region}"
gitlab_zone_id = "${var.gitlab_net_zone_id}"
cert_link = "${var.monitor_ops_gitlab_net_cert_link}"
backend_service_link = "${module.monitor.google_compute_backend_service_self_link}"
web_ip_fqdn = "monitor.ops.gitlab.net"
service_ports = ["80", "443"]
}
module "monitor" {
backend_service_type = "regional"
bootstrap_version = 6
chef_provision = "${var.chef_provision}"
chef_run_list = "\"role[${var.environment}-infra-public-dashboards]\""
......
......@@ -136,6 +136,10 @@ variable "dashboards_gitlab_net_cert_link" {
default = "projects/gitlab-ops/global/sslCertificates/dashboards-gitlab-net"
}
variable "monitor_ops_gitlab_net_cert_link" {
default = "projects/gitlab-ops/global/sslCertificates/monitor-ops-gitlab-net"
}
variable "gcs_service_account_email" {
type = "string"
default = "[email protected]"
......
Markdown is supported
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