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)

NameTypeDescriptionDefaultRequired
name_prefixstringPrefix for resource namingyes
environmentstringDeployment environmentyes
resource_group_namestringResource group nameyes
locationstringAzure regionyes
administrator_passwordstringAdministrator passwordyes
sku_namestringSKU nameGP_Standard_D2s_v3no
high_availability_modestringHA mode (ZoneRedundant or SameZone)nullno

Outputs (4)

NameDescription
server_idID of the PostgreSQL server
server_nameName of the server
fqdnFully qualified domain name
database_nameName of the default database

More Azure Modules

Browse our full library of Azure infrastructure modules.

View all Azure modules