File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -36,4 +36,5 @@ module "deployment" {
3636 subnet_ip_cidr_range = var. subnet_ip_cidr_range
3737 vpc_host_network = var. vpc_host_network
3838 vpc_host_project = var. vpc_host_project
39+ managed_ssl_certificate_domains = [" test.getedvise.com" ]
3940}
Original file line number Diff line number Diff line change @@ -130,6 +130,8 @@ module "lb-http" {
130130 ssl = true
131131 managed_ssl_certificate_domains = [var . domain ]
132132 https_redirect = true
133+ random_certificate_suffix = true
134+
133135
134136 backends = {
135137 for s in local . services : " ${ var . environment } -${ s . name } " => {
@@ -155,8 +157,8 @@ module "lb-http" {
155157 }
156158 }
157159 }
158- create_url_map = false
159- url_map = google_compute_url_map. url_map . self_link
160+ create_url_map = false
161+ url_map = google_compute_url_map. url_map . self_link
160162}
161163
162164resource "google_compute_url_map" "url_map" {
Original file line number Diff line number Diff line change @@ -71,3 +71,9 @@ variable "vpc_host_network" {
7171 description = " The name of the VPC host network"
7272 type = string
7373}
74+
75+ variable "managed_ssl_certificate_domains" {
76+ description = " List of domains for the Google-managed SSL certificate"
77+ type = list (string )
78+ default = []
79+ }
You can’t perform that action at this time.
0 commit comments