All Modules
AzureDatabase
PostgreSQL
Flexible Server for PostgreSQL with HA, VNet integration, and extensions
Usage
module "postgresql" {
source = "github.com/fencepencil/fencepencil-azure-modules//postgresql"
name_prefix = "<name_prefix>"
environment = "<environment>"
resource_group_name = "<resource_group_name>"
location = "<location>"
administrator_password = "<administrator_password>"
tags = var.tags
}Inputs (7)
| Name | Type | Description | Default | Required |
|---|---|---|---|---|
name_prefix | string | Prefix for resource naming | — | yes |
environment | string | Deployment environment | — | yes |
resource_group_name | string | Resource group name | — | yes |
location | string | Azure region | — | yes |
administrator_password | string | Administrator password | — | yes |
sku_name | string | SKU name | GP_Standard_D2s_v3 | no |
high_availability_mode | string | HA mode (ZoneRedundant or SameZone) | null | no |
Outputs (4)
| Name | Description |
|---|---|
server_id | ID of the PostgreSQL server |
server_name | Name of the server |
fqdn | Fully qualified domain name |
database_name | Name of the default database |