From c5aa5fbdf85b7649030da49b540804581d95fee5 Mon Sep 17 00:00:00 2001 From: Michele Zanotti Date: Wed, 11 Dec 2024 16:32:50 +0000 Subject: [PATCH] fix: typos --- main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 67c9bfb..8218b51 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 = data.azurerm_resource_group.main + resource_group_name = data.azurerm_resource_group.main.name } resource "azurerm_private_dns_zone_virtual_network_link" "flexible_postgres" { count = var.private_dns_zones.flexible_postgres == null ? 1 : 0 @@ -225,7 +225,7 @@ resource "azurerm_private_dns_zone_virtual_network_link" "flexible_postgres" { resource "azurerm_private_dns_zone" "key_vault" { count = var.private_dns_zones.key_vault == null ? 1 : 0 name = "privatelink.vaultcore.azure.net" - resource_group_name = var.private_dns_zones.key_vault.resource_group_name + resource_group_name = data.azurerm_resource_group.main.name } resource "azurerm_private_dns_zone_virtual_network_link" "key_vault" { count = var.private_dns_zones.key_vault == null ? 1 : 0