Skip to content

Commit

Permalink
Fix cross-region-replica-postgres example code
Browse files Browse the repository at this point in the history
  • Loading branch information
es1o committed Jun 12, 2024
1 parent 3ba7984 commit 2ce7dc4
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 2ce7dc4

Please sign in to comment.