From 1c1b7f9e5cd8a6fbec1c2cd5bb989fcd78eaf948 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Wed, 29 May 2024 11:33:21 +0100 Subject: [PATCH] adding new aws cert identifier to db --- infrastructure/terraform/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index 55266e10..2811f62e 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -81,6 +81,8 @@ resource "aws_db_instance" "default" { # We will look to change this in the future but as we are pre-MVP at the time of setting this, we don't # have major security demand and don't want to set this up now publicly_accessible = true + # Specify the CA certificate with the default RDS CA certificate + ca_cert_identifier = "rds-ca-rsa2048-g1" } # Set up the bucket that recieve the csv uploads of epc to be retrofit @@ -147,7 +149,7 @@ module "route53" { source = "./modules/route53" domain_name = var.domain_name api_url_prefix = var.api_url_prefix - providers = { + providers = { aws.aws_use1 = aws.aws_use1 } }