This commit is contained in:
parent
a5964fb197
commit
2682551234
@ -1,7 +1,7 @@
|
|||||||
resource "azurerm_cosmosdb_account" "cosmodb" {
|
resource "azurerm_cosmosdb_account" "cosmodb" {
|
||||||
name = "cosmosdbazurefunction"
|
name = "cosmosdbazurefunction"
|
||||||
location = "eastus"
|
location = azurerm_resource_group.rg-cosmostest-cosmosdb.location
|
||||||
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name
|
resource_group_name = azurerm_resource_group.rg-cosmostest-cosmosdb.name
|
||||||
offer_type = "Standard"
|
offer_type = "Standard"
|
||||||
kind = "GlobalDocumentDB"
|
kind = "GlobalDocumentDB"
|
||||||
enable_free_tier = true
|
enable_free_tier = true
|
||||||
|
@ -33,7 +33,12 @@ resource "azurerm_resource_group" "rg-hhv-staticwebapp" {
|
|||||||
location = "westeurope"
|
location = "westeurope"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "azurerm_resource_group" "rg-cosmostest-staticwebapp-cosmosdb" {
|
resource "azurerm_resource_group" "rg-cosmostest-staticwebapp" {
|
||||||
name = "rg-cosmostest-staticwebapp-cosmosdb"
|
name = "rg-cosmostest-staticwebapp-cosmosdb"
|
||||||
location = "westeurope"
|
location = "westeurope"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "azurerm_resource_group" "rg-cosmostest-cosmosdb" {
|
||||||
|
name = "rg-cosmostest-cosmosdb"
|
||||||
|
location = "westeurope"
|
||||||
|
}
|
@ -72,8 +72,8 @@ resource "azurerm_static_site_custom_domain" "hhvtormakristofeu" {
|
|||||||
|
|
||||||
resource "azurerm_static_site" "cosmostest" {
|
resource "azurerm_static_site" "cosmostest" {
|
||||||
name = "cosmostest"
|
name = "cosmostest"
|
||||||
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name
|
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp.name
|
||||||
location = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.location
|
location = azurerm_resource_group.rg-cosmostest-staticwebapp.location
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "azurerm_static_site_custom_domain" "cosmostesttormakristofeu" {
|
resource "azurerm_static_site_custom_domain" "cosmostesttormakristofeu" {
|
||||||
|
Reference in New Issue
Block a user