move around landing page
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Torma Kristóf 2022-05-19 08:52:53 +02:00
parent 5eb56b7bb8
commit 9f0057f4d9
2 changed files with 20 additions and 3 deletions

View File

@ -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"
}

View File

@ -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"
}