Skip to content

Commit

Permalink
docs: Adjust cross-region-replica-postgres example code (#554)
Browse files Browse the repository at this point in the history
Fix cross-region-replica-postgres example code
  • Loading branch information
es1o authored Jun 14, 2024
1 parent 3ba7984 commit d39c573
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/cross-region-replica-postgres/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit d39c573

Please sign in to comment.