add kmlabz static site
All checks were successful
continuous-integration/drone/push Build is passing

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

@ -45,3 +45,15 @@ resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
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"
}