From 20c9ff0ec7fb26c0b5bb9e4d774d8e97f6177706 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= Date: Mon, 1 Aug 2022 22:12:00 +0200 Subject: [PATCH] fix rg name --- azure-cosmosdb.tf | 2 +- azure-staticwebapps.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-cosmosdb.tf b/azure-cosmosdb.tf index e3de741..0d78fd6 100644 --- a/azure-cosmosdb.tf +++ b/azure-cosmosdb.tf @@ -1,7 +1,7 @@ resource "azurerm_cosmosdb_account" "cosmodb" { name = "cosmosdb" location = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.location - resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp.name + resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name offer_type = "Standard" kind = "GlobalDocumentDB" enable_free_tier = true diff --git a/azure-staticwebapps.tf b/azure-staticwebapps.tf index c4c1397..b08e16c 100644 --- a/azure-staticwebapps.tf +++ b/azure-staticwebapps.tf @@ -72,7 +72,7 @@ resource "azurerm_static_site_custom_domain" "hhvtormakristofeu" { resource "azurerm_static_site" "cosmostest" { name = "cosmostest" - resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp.name + resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name location = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.location }