add new static webapp
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2022-04-27 20:13:16 +02:00
parent fc86e9f199
commit 41f949950f
2 changed files with 17 additions and 0 deletions

View File

@ -7,3 +7,8 @@ resource "azurerm_resource_group" "rg-personalsite-staticwebapp" {
name = "rg-personalsite-staticwebapp" name = "rg-personalsite-staticwebapp"
location = "westeurope" location = "westeurope"
} }
resource "azurerm_resource_group" "rg-cv-staticwebapp" {
name = "rg-cv-staticwebapp"
location = "westeurope"
}

View File

@ -21,3 +21,15 @@ resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
domain_name = "www.tormakristof.eu" domain_name = "www.tormakristof.eu"
validation_type = "cname-delegation" validation_type = "cname-delegation"
} }
resource "azurerm_static_site" "cv" {
name = "cv"
resource_group_name = "rg-cv-staticwebapp"
location = "westeurope"
}
resource "azurerm_static_site_custom_domain" "cvtormakristofeu" {
static_site_id = azurerm_static_site.cv.id
domain_name = "cv.tormakristof.eu"
validation_type = "cname-delegation"
}