From 41f949950f75bc3cbf07d12dbd8f1cf8e7a37738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Wed, 27 Apr 2022 20:13:16 +0200 Subject: [PATCH] add new static webapp --- azure-resourcegroups.tf | 5 +++++ azure-staticwebapps.tf | 12 ++++++++++++ 2 files changed, 17 insertions(+) diff --git a/azure-resourcegroups.tf b/azure-resourcegroups.tf index 69f3f7f..96f4cfd 100644 --- a/azure-resourcegroups.tf +++ b/azure-resourcegroups.tf @@ -7,3 +7,8 @@ resource "azurerm_resource_group" "rg-personalsite-staticwebapp" { name = "rg-personalsite-staticwebapp" location = "westeurope" } + +resource "azurerm_resource_group" "rg-cv-staticwebapp" { + name = "rg-cv-staticwebapp" + location = "westeurope" +} diff --git a/azure-staticwebapps.tf b/azure-staticwebapps.tf index e970cf0..2696bb5 100644 --- a/azure-staticwebapps.tf +++ b/azure-staticwebapps.tf @@ -21,3 +21,15 @@ resource "azurerm_static_site_custom_domain" "wwwtormakristofeu" { domain_name = "www.tormakristof.eu" 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" +}