This commit is contained in:
parent
a583903906
commit
0b846ae8d2
@ -27,3 +27,8 @@ resource "azurerm_resource_group" "rg-kmlabz-staticwebapp" {
|
|||||||
name = "rg-kmlabz-staticwebapp"
|
name = "rg-kmlabz-staticwebapp"
|
||||||
location = "westeurope"
|
location = "westeurope"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "azurerm_resource_group" "rg-hhv-staticwebapp" {
|
||||||
|
name = "rg-kmlabz-staticwebapp"
|
||||||
|
location = "westeurope"
|
||||||
|
}
|
||||||
|
@ -57,3 +57,15 @@ resource "azurerm_static_site_custom_domain" "wwwkmlabzcom" {
|
|||||||
domain_name = "www.kmlabz.com"
|
domain_name = "www.kmlabz.com"
|
||||||
validation_type = "cname-delegation"
|
validation_type = "cname-delegation"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "azurerm_static_site" "hhv" {
|
||||||
|
name = "hhv"
|
||||||
|
resource_group_name = azurerm_resource_group.rg-hhv-staticwebapp.name
|
||||||
|
location = azurerm_resource_group.rg-hhv-staticwebapp.location
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "azurerm_static_site_custom_domain" "hhvtormakristofeu" {
|
||||||
|
static_site_id = azurerm_static_site.hhv.id
|
||||||
|
domain_name = "hhv.tormakristof.eu"
|
||||||
|
validation_type = "cname-delegation"
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user