This commit is contained in:
parent
5eb56b7bb8
commit
9f0057f4d9
@ -16,4 +16,9 @@ resource "azurerm_resource_group" "rg-cv-staticwebapp" {
|
||||
resource "azurerm_resource_group" "rg-hanyadikhet-functionapp" {
|
||||
name = "rg-hanyadikhet-functionapp"
|
||||
location = "westeurope"
|
||||
}
|
||||
}
|
||||
|
||||
resource "azurerm_resource_group" "rg-landingpage-staticwebapp" {
|
||||
name = "rg-landingpage-staticwebapp"
|
||||
location = "westeurope"
|
||||
}
|
||||
|
@ -16,9 +16,9 @@ resource "azurerm_static_site" "personal-site" {
|
||||
location = azurerm_resource_group.rg-personalsite-staticwebapp.location
|
||||
}
|
||||
|
||||
resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
|
||||
resource "azurerm_static_site_custom_domain" "blogtormakristofeu" {
|
||||
static_site_id = azurerm_static_site.personal-site.id
|
||||
domain_name = "www.tormakristof.eu"
|
||||
domain_name = "blog.tormakristof.eu"
|
||||
validation_type = "cname-delegation"
|
||||
}
|
||||
|
||||
@ -33,3 +33,15 @@ resource "azurerm_static_site_custom_domain" "cvtormakristofeu" {
|
||||
domain_name = "cv.tormakristof.eu"
|
||||
validation_type = "cname-delegation"
|
||||
}
|
||||
|
||||
resource "azurerm_static_site" "landingpage" {
|
||||
name = "cv"
|
||||
resource_group_name = azurerm_resource_group.rg-landingpage-staticwebapp.name
|
||||
location = azurerm_resource_group.rg-landingpage-staticwebapp.location
|
||||
}
|
||||
|
||||
resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
|
||||
static_site_id = azurerm_static_site.landingpage.id
|
||||
domain_name = "www.tormakristof.eu"
|
||||
validation_type = "cname-delegation"
|
||||
}
|
Reference in New Issue
Block a user