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

83 lines
3.0 KiB
Terraform
Raw Normal View History

2022-04-25 19:46:21 +02:00
resource "azurerm_static_site" "tormakristofeu" {
name = "tormakristofeu"
2022-05-17 17:42:19 +02:00
resource_group_name = azurerm_resource_group.rg-static-site.name
location = azurerm_resource_group.rg-static-site.location
2022-04-25 22:30:25 +02:00
}
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"
2022-05-17 17:42:19 +02:00
resource_group_name = azurerm_resource_group.rg-personalsite-staticwebapp.name
location = azurerm_resource_group.rg-personalsite-staticwebapp.location
2022-04-25 22:30:25 +02:00
}
2022-05-19 08:52:53 +02:00
resource "azurerm_static_site_custom_domain" "blogtormakristofeu" {
2022-04-25 22:30:25 +02:00
static_site_id = azurerm_static_site.personal-site.id
2022-05-19 08:52:53 +02:00
domain_name = "blog.tormakristof.eu"
2022-04-25 22:30:25 +02:00
validation_type = "cname-delegation"
2022-04-25 19:46:21 +02:00
}
2022-04-27 20:13:16 +02:00
resource "azurerm_static_site" "cv" {
name = "cv"
2022-05-17 17:42:19 +02:00
resource_group_name = azurerm_resource_group.rg-cv-staticwebapp.name
location = azurerm_resource_group.rg-cv-staticwebapp.location
2022-04-27 20:13:16 +02:00
}
2022-04-27 20:25:25 +02:00
resource "azurerm_static_site_custom_domain" "cvtormakristofeu" {
static_site_id = azurerm_static_site.cv.id
domain_name = "cv.tormakristof.eu"
validation_type = "cname-delegation"
}
2022-05-19 08:52:53 +02:00
resource "azurerm_static_site" "landingpage" {
2022-05-19 08:58:46 +02:00
name = "landingpage"
2022-05-19 08:52:53 +02:00
resource_group_name = azurerm_resource_group.rg-landingpage-staticwebapp.name
location = azurerm_resource_group.rg-landingpage-staticwebapp.location
}
resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" {
static_site_id = azurerm_static_site.landingpage.id
domain_name = "www.tormakristof.eu"
validation_type = "cname-delegation"
2022-05-21 17:25:50 +02:00
}
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"
2022-05-21 20:46:41 +02:00
}
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"
}
2022-08-01 22:09:46 +02:00
resource "azurerm_static_site" "cosmostest" {
name = "cosmostest"
2022-08-01 22:12:00 +02:00
resource_group_name = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.name
2022-08-01 22:09:46 +02:00
location = azurerm_resource_group.rg-cosmostest-staticwebapp-cosmosdb.location
}
resource "azurerm_static_site_custom_domain" "cosmostesttormakristofeu" {
static_site_id = azurerm_static_site.cosmostest.id
domain_name = "cosmostest.tormakristof.eu"
validation_type = "cname-delegation"
}