FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit fbf458cf authored by Roy Harrington's avatar Roy Harrington Committed by Ryan Kowalewski
Browse files

fix: do not create ssl policy if provided in var.ssl_policy

parent 2d639d7f
No related branches found
No related tags found
1 merge request!56Upgrade to v3 of the gcp-site-monitoring-module
Pipeline #347151 passed
......@@ -16,7 +16,7 @@ resource "google_compute_region_network_endpoint_group" "webapp" {
}
resource "google_compute_ssl_policy" "default" {
count = var.ingress_style == "load-balancer" ? 1 : 0
count = var.ingress_style == "load-balancer" && var.ssl_policy == null ? 1 : 0
name = "${var.name}-modern"
profile = "MODERN"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment