ConX Home Portal Module¶
Terraform module for deploying ConX Home Portal application infrastructure.
Description¶
Provisions infrastructure for the ConX Home Portal application, focused on database resources and configurations specific to the Home Portal component.
Resources Created¶
- Azure SQL Database (ConX Home Portal database)
Usage¶
module "conx_homeportal" {
source = "../../modules/ConXHomePortal"
rg = {
name = "CmgCxRgDev01"
location = "westus2"
}
environment_name = "dev"
# SQL Configuration
azsql_server_id = azurerm_mssql_server.main.id
azsql_db_sku = "S1"
azsql_db_size = 100
tags = {
Environment = "Dev"
Product = "ConX Home Portal"
}
}
Inputs¶
| Name | Description | Type | Required |
|---|---|---|---|
| rg | Resource group (name, location) | object | yes |
| environment_name | Environment (dev, qa, uat, prod) | string | yes |
| azsql_server_id | Azure SQL Server ID | string | yes |
| azsql_db_sku | Database SKU (S1, P2, etc.) | string | no (default: S1) |
| azsql_db_size | Database max size in GB | number | no (default: 100) |
| tags | Resource tags | map(string) | no (default: {}) |
Outputs¶
| Name | Description |
|---|---|
| tags | Resource tags applied |
| database | Database resource details |