From 68ce7b1fd7ec5dcb88df0ef5eb96017900f22471 Mon Sep 17 00:00:00 2001 From: Tomasz Magulski Date: Sun, 18 May 2025 23:24:24 +0200 Subject: [PATCH] Upgrade RDS (to PostgreSQL 13 + certificate authority) Fixes #110 --- db.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db.tf b/db.tf index 8b92465..91dc576 100644 --- a/db.tf +++ b/db.tf @@ -16,7 +16,7 @@ resource "aws_db_instance" "db" { identifier = "main-postgres" engine = "postgres" - engine_version = "12.19" + engine_version = "13.18" instance_class = "db.t3.micro" allocated_storage = 8 @@ -31,6 +31,8 @@ resource "aws_db_instance" "db" { final_snapshot_identifier = "main-postgres-final-snapshot" + ca_cert_identifier = "rds-ca-rsa2048-g1" + depends_on = [ random_password.db_password, aws_db_subnet_group.private,