Skip to content

Commit fcb301f

Browse files
committed
chore Upgrade to Postgres 16.1 (test+prod)
Dev is already ahead of the game by being on 16.2: ``` ; kubectl --context iam-dev exec -it dino-park-packs-pg-deployment-56b7dd5b49-gd688 -- postgres --version postgres (PostgreSQL) 16.2 (Debian 16.2-1.pgdg120+2) ``` @gcoxmoz pointed out pg_upgrade supports upgrades from 9.2.X and later to the current major release of PostgreSQL, including snapshot and beta releases. See: https://www.postgresql.org/docs/16/pgupgrade.html Jira: IAM-1502
1 parent 3ade10a commit fcb301f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

terraform/prod/db.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "aws_db_instance" "dino_park_packs_db" {
44
max_allocated_storage = 100
55
storage_type = "gp2"
66
engine = "postgres"
7-
engine_version = "11.22"
7+
engine_version = "16.1"
88
instance_class = "db.t3.micro"
99
allow_major_version_upgrade = true
1010
username = "dinopark"

terraform/test/db.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ resource "aws_db_instance" "dino_park_packs_db" {
44
max_allocated_storage = 100
55
storage_type = "gp2"
66
engine = "postgres"
7-
engine_version = "11.22"
7+
engine_version = "16.1"
88
instance_class = "db.t3.micro"
99
allow_major_version_upgrade = true
1010
username = "dinopark"

0 commit comments

Comments
 (0)