We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b9c44b commit 43ead64Copy full SHA for 43ead64
google.tf
@@ -4,7 +4,7 @@ resource "google_compute_global_address" "gateway" {
4
5
resource "google_certificate_manager_certificate" "gateway" {
6
for_each = tomap({
7
- for v in var.gateway_certificates : v.domain => v
+ for v in var.gateway_certificates : replace(replace(v.domain, "-", "_"), ".", "_") => v
8
})
9
10
name = each.value.domain
0 commit comments