From 127f6d0af3c03601a65b5fa495c5a85fed65b729 Mon Sep 17 00:00:00 2001 From: David Gamez Diaz <1192523+davidgamez@users.noreply.github.com> Date: Wed, 21 Jan 2026 13:20:39 -0500 Subject: [PATCH] upgrade postgresql to 14 --- docker-compose.yaml | 4 ++-- infra/postgresql/main.tf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 2a67769a5..4d3c175e1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ services: postgres: container_name: database - image: postgis/postgis:13-3.5 + image: postgis/postgis:14-3.3 # Fix warning message on arm64 machines platform: linux/amd64 healthcheck: @@ -25,7 +25,7 @@ services: - local postgres-test: container_name: database_test - image: postgis/postgis:13-3.5 + image: postgis/postgis:14-3.3 # Fix warning message on arm64 machines platform: linux/amd64 healthcheck: diff --git a/infra/postgresql/main.tf b/infra/postgresql/main.tf index 327004808..038c2eb7a 100644 --- a/infra/postgresql/main.tf +++ b/infra/postgresql/main.tf @@ -51,7 +51,7 @@ resource "google_service_networking_connection" "private_vpc_connection" { resource "google_sql_database_instance" "db" { name = var.postgresql_instance_name - database_version = "POSTGRES_13" + database_version = "POSTGRES_14" region = var.gcp_region # This property protects the DB from deletion only for terraform commands # settings.deletion_protection_enabled protects the DB from deletion in the GCP console and GCP API