postgresql-read-replica

booyaa/postgresql-read-replica/azurerm

Terraform Module HCL AZURERM ⏱ stale 5y 10mo

A module for creating Azure Database for PostgreSQL Read Replicas

Install

module "postgresql-read-replica" {
source = "booyaa/postgresql-read-replica/azurerm"
version = "0.2.1"
}
⭐ Source on GitHub 📦 Registry page

README

terraform-azurerm-postgresql-read-replica A module to manage Azure Database for PostgreSQL Read Replica until support for PostgreSQL read replicas is implemented. See issue terraform-provider-azurerm#2819 for more details. Update: As of version 2.7.0, the Azure provider now supports the creation of replicas. I'll be reviewing what if any purpose this module will now play. Limitations - The module is dependant on the Azure CLI - Changes outside of Terraform are not detected, and re-applying does not resolve this. - It's not yet possible to break replication and turn the replica into a primary server. - It's not yet possible to specify a different location, i.e. cross-region replication. - You cannot use this module to import an existing read replica. Example The following example creates a

Inputs (3)

NameTypeDescriptionDefault
resource_group_namestringRepresents the resource group name that contains the primary PostgreSQL server. required
postgresql_primary_server_namestringRepresents the name of the primary PostgreSQL server. required
postgresql_replica_server_namestringRepresents the name of the PostgreSQL read replica server. required

Outputs (1)

replica_name — Returns the name of the PostgreSQL read replica server.

Resources (1)

null_resource

Details

FrameworkTerraform Module
LanguageHCL
Version0.2.1
Cloud AZURERM
★ Stars1
Forks6
Total downloads6.3k
Inputs3
Outputs1
Resources1
LicenseMIT
Namespacebooyaa
Updated