From aa832f056102e4943b45f23eddac64f14603f059 Mon Sep 17 00:00:00 2001 From: Michele Zanotti Date: Wed, 11 Dec 2024 16:29:07 +0000 Subject: [PATCH] fix: resource group name --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 9804fcd..67c9bfb 100644 --- a/main.tf +++ b/main.tf @@ -208,7 +208,7 @@ resource "azurerm_private_dns_zone" "flexible_postgres" { count = var.private_dns_zones.flexible_postgres == null ? 1 : 0 name = "${var.resource_prefix}.nebuly.postgres.database.azure.com" - resource_group_name = var.private_dns_zones.flexible_postgres.resource_group_name + resource_group_name = data.azurerm_resource_group.main } resource "azurerm_private_dns_zone_virtual_network_link" "flexible_postgres" { count = var.private_dns_zones.flexible_postgres == null ? 1 : 0