Skip to content

Commit

Permalink
chore(backend): fix iac for the database
Browse files Browse the repository at this point in the history
  • Loading branch information
tericcabrel committed Sep 1, 2024
1 parent bbd7f7e commit f6a31d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/backend/_infra/prod/storage/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/_infra/prod/storage/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ provider "aws" {

provider "aws" {
region = "us-east-1"
alias = "us_east_1"
alias = "us_east_1"
}

# Create ECR Public Repository
Expand Down

0 comments on commit f6a31d8

Please sign in to comment.