Skip to content

Commit 467c320

Browse files
committed
Add production publishing-api postgres 17 upgrade
1 parent df34b02 commit 467c320

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
resource "aws_db_parameter_group" "publishing_api_postgresql_17_green_params" {
2+
3+
name_prefix = "${var.govuk_environment}-publishing-api-postgres-"
4+
family = "postgres17"
5+
6+
parameter {
7+
name = "rds.logical_replication"
8+
value = "1"
9+
apply_method = "pending-reboot"
10+
}
11+
12+
parameter {
13+
name = "max_logical_replication_workers"
14+
value = "20"
15+
apply_method = "pending-reboot"
16+
}
17+
18+
parameter {
19+
name = "max_worker_processes"
20+
value = "25"
21+
apply_method = "pending-reboot"
22+
}
23+
24+
lifecycle { create_before_destroy = true }
25+
}

0 commit comments

Comments
 (0)