From d39c5737f2fa999c20f12d09c5b46a4f67f47b98 Mon Sep 17 00:00:00 2001 From: Grzegorz Eliszewski Date: Fri, 14 Jun 2024 16:35:14 +0200 Subject: [PATCH] docs: Adjust cross-region-replica-postgres example code (#554) Fix cross-region-replica-postgres example code --- examples/cross-region-replica-postgres/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/cross-region-replica-postgres/main.tf b/examples/cross-region-replica-postgres/main.tf index 1d8bb265..0fcd44a0 100644 --- a/examples/cross-region-replica-postgres/main.tf +++ b/examples/cross-region-replica-postgres/main.tf @@ -112,13 +112,15 @@ module "replica" { allocated_storage = local.allocated_storage max_allocated_storage = local.max_allocated_storage - password = "UberSecretPassword" # Not supported with replicas manage_master_user_password = false # Username and password should not be set for replicas port = local.port + # parameter group for replica is inherited from the source database + create_db_parameter_group = false + multi_az = false vpc_security_group_ids = [module.security_group_region2.security_group_id]