We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a316b63 commit e7402beCopy full SHA for e7402be
main.tf
@@ -1,6 +1,6 @@
1
locals {
2
- prefix = length(var.prefix) == 0 ? "" : "${var.prefix}-"
3
- private_dns_zone_vnet_link = var.custom_dns_zone_vnet_link_name == null ? "link-${local.prefix}" : "${local.prefix}${var.custom_dns_zone_vnet_link_name}"
+ prefix = length(var.prefix) == 0 ? "" : "${var.prefix}"
+ private_dns_zone_vnet_link = var.custom_dns_zone_vnet_link_name == null ? "link-${local.prefix}" : "${local.prefix}-${var.custom_dns_zone_vnet_link_name}"
4
}
5
6
resource "azurerm_private_dns_zone" "this" {
0 commit comments