From 238a609c73e7db8d34387f4d147924568fb4939b Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Mon, 10 Jul 2023 13:49:30 +0100 Subject: [PATCH] Allow db to be publically accessible --- infrastructure/terraform/main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index d47d64fe..9422fdfb 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -71,4 +71,8 @@ resource "aws_db_instance" "default" { lifecycle { prevent_destroy = true } + # For the moment, we make the database publically accessible so that we can connect to it from the frontend. + # 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 }