Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(backend): fix iac for the database #103

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading