First commit

This commit is contained in:
2024-05-19 15:25:41 -05:00
commit c8e909ae88
29 changed files with 7715 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
resource "azurerm_static_web_app" "static_web_app" {
name = var.static_web_app_name
resource_group_name = var.resource_group_name
location = var.region
}
resource "azurerm_static_web_app_custom_domain" "static_web_app_custom_domain" {
count = var.custom_domain_name_count
static_web_app_id = azurerm_static_web_app.static_web_app.id
domain_name = "${var.subdomain_name}.${var.domain_name}"
validation_type = "cname-delegation"
}