Fixed issue with service networking DNS peering (#2246)
Co-authored-by: Ludovico Magnocavallo <ludomagno@google.com>
This commit is contained in:
@@ -28,7 +28,7 @@ locals {
|
||||
_psa_peered_domains = flatten([
|
||||
for config in local.psa_configs : [
|
||||
for v in config.peered_domains : {
|
||||
key = "${config.key}-${replace(v, ".", "-")}"
|
||||
key = "${config.key}-${trimsuffix(replace(v, ".", "-"), "-")}"
|
||||
dns_suffix = v
|
||||
service_producer = config.service_producer
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user