This repository has been archived on 2023-12-13. You can view files and clone it, but cannot push or open issues or pull requests.
cloud-resources/azure-staticwebapps.tf

24 lines
778 B
Terraform
Raw Normal View History

2022-04-25 19:46:21 +02:00
resource "azurerm_static_site" "tormakristofeu" {
name = "tormakristofeu"
resource_group_name = "rg-static-site"
2022-04-25 22:30:25 +02:00
location = "westeurope"
}
resource "azurerm_static_site_custom_domain" "statictormakristofeu" {
static_site_id = azurerm_static_site.tormakristofeu.id
domain_name = "static.tormakristof.eu"
validation_type = "cname-delegation"
2022-04-25 19:46:21 +02:00
}
resource "azurerm_static_site" "personal-site" {
name = "personal-site"
resource_group_name = "rg-personalsite-staticwebapp"
2022-04-25 22:30:25 +02:00
location = "westeurope"
}
resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
static_site_id = azurerm_static_site.personal-site.id
domain_name = "www.tormakristof.eu"
validation_type = "cname-delegation"
2022-04-25 19:46:21 +02:00
}