- Add Cloud for Sovereignty landing zone architecture and deployment - Implement complete legal document management system - Reorganize documentation with improved navigation - Add infrastructure improvements (Dockerfiles, K8s, monitoring) - Add operational improvements (graceful shutdown, rate limiting, caching) - Create comprehensive project structure documentation - Add Azure deployment automation scripts - Improve repository navigation and organization
25 lines
693 B
HCL
25 lines
693 B
HCL
# Resource Groups for The Order
|
|
# Creates resource groups for each environment
|
|
# Naming: az-we-rg-dev-main (provider-region-resource-env-purpose) or custom from variable
|
|
|
|
resource "azurerm_resource_group" "main" {
|
|
name = var.resource_group_name != "" ? var.resource_group_name : local.rg_name
|
|
location = var.azure_region
|
|
|
|
tags = merge(var.tags, {
|
|
Purpose = "Main"
|
|
})
|
|
}
|
|
|
|
# Resource group for Terraform state (if using remote backend)
|
|
resource "azurerm_resource_group" "terraform_state" {
|
|
count = var.create_terraform_state_rg ? 1 : 0
|
|
name = local.rg_state_name
|
|
location = var.azure_region
|
|
|
|
tags = merge(local.common_tags, {
|
|
Purpose = "TerraformState"
|
|
})
|
|
}
|
|
|