Skip to content

Commit

Permalink
Merge pull request #1315 from alphagov/ianhowell-gds/production_chat_…
Browse files Browse the repository at this point in the history
…rds_db

Add Postgres RDS DB for Chat App to Production Environment
  • Loading branch information
rtrinque authored Jun 5, 2024
2 parents 3ba897e + 07c87eb commit 054e23d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions terraform/deployments/tfc-configuration/variables-production.tf
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,23 @@ module "variable-set-rds-production" {
freestoragespace_threshold = 10737418240
}

chat = {
engine = "postgres"
engine_version = "16"
engine_params = {
log_min_duration_statement = { value = 10000 }
log_statement = { value = "all" }
deadlock_timeout = { value = 2500 }
log_lock_waits = { value = 1 }
}
engine_params_family = "postgres16"
name = "chat"
allocated_storage = 100
instance_class = "db.t4g.small"
performance_insights_enabled = false
freestoragespace_threshold = 10737418240
}

ckan = {
engine = "postgres"
engine_version = "13"
Expand Down

0 comments on commit 054e23d

Please sign in to comment.