Skip to content

Commit

Permalink
Update db2.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
jinchuantang authored Mar 21, 2024
1 parent db0915a commit 01226b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion terraform/prod/db2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "aws_rds_cluster" "postgres2" {
cluster_identifier = "workbc-postgres-cluster"
engine = "aurora-postgresql"
engine_version = "13.8"
engine_mode = "provisioned"
master_username = local.db_creds.adm_username
master_password = local.db_creds.adm_password
backup_retention_period = 5
Expand All @@ -21,7 +22,7 @@ resource "aws_rds_cluster" "postgres2" {
vpc_security_group_ids = [data.aws_security_group.data.id]
skip_final_snapshot = true
final_snapshot_identifier = "workbc-finalsnapshot"
multi_az = true
#multi_az = true

serverlessv2_scaling_configuration {
max_capacity = 16.0
Expand Down

0 comments on commit 01226b6

Please sign in to comment.