add kmlabz static site
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2022-05-21 17:25:50 +02:00
parent afc1316dd4
commit a583903906
2 changed files with 17 additions and 0 deletions

View File

@ -22,3 +22,8 @@ resource "azurerm_resource_group" "rg-landingpage-staticwebapp" {
name = "rg-landingpage-staticwebapp"
location = "westeurope"
}
resource "azurerm_resource_group" "rg-kmlabz-staticwebapp" {
name = "rg-kmlabz-staticwebapp"
location = "westeurope"
}

View File

@ -44,4 +44,16 @@ resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
static_site_id = azurerm_static_site.landingpage.id
domain_name = "www.tormakristof.eu"
validation_type = "cname-delegation"
}
resource "azurerm_static_site" "kmlabz" {
name = "kmlabz"
resource_group_name = azurerm_resource_group.rg-kmlabz-staticwebapp.name
location = azurerm_resource_group.rg-kmlabz-staticwebapp.location
}
resource "azurerm_static_site_custom_domain" "wwwkmlabzcom" {
static_site_id = azurerm_static_site.kmlabz.id
domain_name = "www.kmlabz.com"
validation_type = "cname-delegation"
}