reference location of resource group in static sites
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2022-05-17 17:59:30 +02:00
parent 4120c658ae
commit 94478ce0ec
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
resource "azurerm_static_site" "tormakristofeu" { resource "azurerm_static_site" "tormakristofeu" {
name = "tormakristofeu" name = "tormakristofeu"
resource_group_name = azurerm_resource_group.rg-static-site.name resource_group_name = azurerm_resource_group.rg-static-site.name
location = "westeurope" location = azurerm_resource_group.rg-static-site.location
} }
resource "azurerm_static_site_custom_domain" "statictormakristofeu" { resource "azurerm_static_site_custom_domain" "statictormakristofeu" {
@ -13,7 +13,7 @@ resource "azurerm_static_site_custom_domain" "statictormakristofeu" {
resource "azurerm_static_site" "personal-site" { resource "azurerm_static_site" "personal-site" {
name = "personal-site" name = "personal-site"
resource_group_name = azurerm_resource_group.rg-personalsite-staticwebapp.name resource_group_name = azurerm_resource_group.rg-personalsite-staticwebapp.name
location = "westeurope" location = azurerm_resource_group.rg-personalsite-staticwebapp.location
} }
resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" { resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
@ -25,7 +25,7 @@ resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
resource "azurerm_static_site" "cv" { resource "azurerm_static_site" "cv" {
name = "cv" name = "cv"
resource_group_name = azurerm_resource_group.rg-cv-staticwebapp.name resource_group_name = azurerm_resource_group.rg-cv-staticwebapp.name
location = "westeurope" location = azurerm_resource_group.rg-cv-staticwebapp.location
} }
resource "azurerm_static_site_custom_domain" "cvtormakristofeu" { resource "azurerm_static_site_custom_domain" "cvtormakristofeu" {