From 45ab55780f94dc598b04ae3e2a1a58eafcfef554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 17 May 2022 17:42:19 +0200 Subject: [PATCH] reference rgs in static sites --- azure-staticwebapps.tf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-staticwebapps.tf b/azure-staticwebapps.tf index 2696bb5..f6677db 100644 --- a/azure-staticwebapps.tf +++ b/azure-staticwebapps.tf @@ -1,6 +1,6 @@ resource "azurerm_static_site" "tormakristofeu" { name = "tormakristofeu" - resource_group_name = "rg-static-site" + resource_group_name = azurerm_resource_group.rg-static-site.name location = "westeurope" } @@ -12,7 +12,7 @@ resource "azurerm_static_site_custom_domain" "statictormakristofeu" { resource "azurerm_static_site" "personal-site" { name = "personal-site" - resource_group_name = "rg-personalsite-staticwebapp" + resource_group_name = azurerm_resource_group.rg-personalsite-staticwebapp.name location = "westeurope" } @@ -24,7 +24,7 @@ resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" { resource "azurerm_static_site" "cv" { name = "cv" - resource_group_name = "rg-cv-staticwebapp" + resource_group_name = azurerm_resource_group.rg-cv-staticwebapp.name location = "westeurope" }