Skip to content

Commit

Permalink
Merge pull request #1569 from alphagov/provision-publisher-psql-db
Browse files Browse the repository at this point in the history
Provision Postgres for Publisher on Integration
  • Loading branch information
Tetrino authored Jan 16, 2025
2 parents a8e987e + f519745 commit 00d2276
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions terraform/deployments/tfc-configuration/variables-integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,24 @@ module "variable-set-rds-integration" {
project = "GOV.UK - Publishing"
}

publisher = {
engine = "postgres"
engine_version = "14"
engine_params = {
log_min_duration_statement = { value = 10000 }
log_statement = { value = "all" }
deadlock_timeout = { value = 2500 }
log_lock_waits = { value = 1 }
}
engine_params_family = "postgres14"
name = "publisher"
allocated_storage = 100
instance_class = "db.t4g.small"
performance_insights_enabled = true
freestoragespace_threshold = 10737418240
project = "GOV.UK - Publishing"
}

release = {
engine = "mysql"
engine_version = "8.0"
Expand Down

0 comments on commit 00d2276

Please sign in to comment.