From cdce629ac9baa0708942c4dd3d2000f9166cdbf5 Mon Sep 17 00:00:00 2001 From: Lucas Dunker Date: Wed, 25 Oct 2023 19:22:25 -0400 Subject: [PATCH] Update Postgres Version (#206) * update apiVersion * Redo Workflows * Update postgres version to 11.19 universally * Update version in github workflows * Revert github workflows docker version --------- Co-authored-by: Pranav Phadke --- infrastructure/dev/docker-compose-server.yml | 2 +- infrastructure/dev/docker-compose.yml | 2 +- infrastructure/terraform/modules/course-catalog-api/rds.tf | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/dev/docker-compose-server.yml b/infrastructure/dev/docker-compose-server.yml index b1c1e0cf..805b911a 100644 --- a/infrastructure/dev/docker-compose-server.yml +++ b/infrastructure/dev/docker-compose-server.yml @@ -2,7 +2,7 @@ version: "2" services: postgresql: - image: postgres:11.17-bullseye + image: postgres:11.19-bullseye ports: - 5432:5432 volumes: diff --git a/infrastructure/dev/docker-compose.yml b/infrastructure/dev/docker-compose.yml index 291cbcd4..b180f47c 100644 --- a/infrastructure/dev/docker-compose.yml +++ b/infrastructure/dev/docker-compose.yml @@ -2,7 +2,7 @@ version: "2" services: postgresql: - image: postgres:11.17-bullseye + image: postgres:11.19-bullseye ports: - 5432:5432 volumes: diff --git a/infrastructure/terraform/modules/course-catalog-api/rds.tf b/infrastructure/terraform/modules/course-catalog-api/rds.tf index ac82561e..a36a6275 100644 --- a/infrastructure/terraform/modules/course-catalog-api/rds.tf +++ b/infrastructure/terraform/modules/course-catalog-api/rds.tf @@ -3,7 +3,7 @@ resource "aws_db_instance" "default" { identifier = module.label.id allocated_storage = 20 engine = "postgres" - engine_version = "11.17" + engine_version = "11.19" instance_class = "db.t3.small" db_name = replace(module.label.name, module.label.delimiter, "") username = "postgres"