Skip to content

Commit fd7d429

Browse files
authored
Upgrade RDS (to PostgreSQL 13 + certificate authority) (#112)
Fixes #110
1 parent 79f6ff3 commit fd7d429

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

db.tf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "aws_db_instance" "db" {
1616
identifier = "main-postgres"
1717

1818
engine = "postgres"
19-
engine_version = "12.19"
19+
engine_version = "13.18"
2020

2121
instance_class = "db.t3.micro"
2222
allocated_storage = 8
@@ -31,6 +31,8 @@ resource "aws_db_instance" "db" {
3131

3232
final_snapshot_identifier = "main-postgres-final-snapshot"
3333

34+
ca_cert_identifier = "rds-ca-rsa2048-g1"
35+
3436
depends_on = [
3537
random_password.db_password,
3638
aws_db_subnet_group.private,

0 commit comments

Comments
 (0)