separate rg
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-08-01 22:56:22 +02:00
parent a5964fb197
commit 2682551234
3 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
resource "azurerm_cosmosdb_account" "cosmodb" {
name = "cosmosdbazurefunction"
location = "eastus"
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name
location = azurerm_resource_group.rg-cosmostest-cosmosdb.location
resource_group_name = azurerm_resource_group.rg-cosmostest-cosmosdb.name
offer_type = "Standard"
kind = "GlobalDocumentDB"
enable_free_tier = true

View File

@ -33,7 +33,12 @@ resource "azurerm_resource_group" "rg-hhv-staticwebapp" {
location = "westeurope"
}
resource "azurerm_resource_group" "rg-cosmostest-staticwebapp-cosmosdb" {
resource "azurerm_resource_group" "rg-cosmostest-staticwebapp" {
name = "rg-cosmostest-staticwebapp-cosmosdb"
location = "westeurope"
}
resource "azurerm_resource_group" "rg-cosmostest-cosmosdb" {
name = "rg-cosmostest-cosmosdb"
location = "westeurope"
}

View File

@ -72,8 +72,8 @@ resource "azurerm_static_site_custom_domain" "hhvtormakristofeu" {
resource "azurerm_static_site" "cosmostest" {
name = "cosmostest"
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name
location = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.location
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp.name
location = azurerm_resource_group.rg-cosmostest-staticwebapp.location
}
resource "azurerm_static_site_custom_domain" "cosmostesttormakristofeu" {