From f6a31d8b5d786bcae8fd12cf5173b99bb4d117b8 Mon Sep 17 00:00:00 2001 From: Eric Cabrel TIOGO Date: Sun, 1 Sep 2024 10:26:45 +0200 Subject: [PATCH] chore(backend): fix iac for the database --- apps/backend/_infra/prod/storage/database.tf | 1 + apps/backend/_infra/prod/storage/main.tf | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/backend/_infra/prod/storage/database.tf b/apps/backend/_infra/prod/storage/database.tf index f3e7447..a52c6ed 100644 --- a/apps/backend/_infra/prod/storage/database.tf +++ b/apps/backend/_infra/prod/storage/database.tf @@ -62,6 +62,7 @@ resource "aws_db_instance" "database" { password = data.doppler_secrets.prod.map.ADMIN_PASSWORD db_subnet_group_name = aws_db_subnet_group.default.name vpc_security_group_ids = [aws_security_group.rds_sg.id] + multi_az = false publicly_accessible = true performance_insights_enabled = true performance_insights_retention_period = 7 ## 7 days to stay in the free tier diff --git a/apps/backend/_infra/prod/storage/main.tf b/apps/backend/_infra/prod/storage/main.tf index 488e78d..d56431f 100644 --- a/apps/backend/_infra/prod/storage/main.tf +++ b/apps/backend/_infra/prod/storage/main.tf @@ -4,7 +4,7 @@ provider "aws" { provider "aws" { region = "us-east-1" - alias = "us_east_1" + alias = "us_east_1" } # Create ECR Public Repository