Skip to content

Commit

Permalink
Enable RDS storage encryption (#4126)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoacierno authored Oct 20, 2024
1 parent 5d5c790 commit 0726fab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions infrastructure/applications/database/db.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ resource "aws_db_instance" "database" {
apply_immediately = true
backup_retention_period = local.is_prod ? 7 : 0
deletion_protection = local.is_prod
storage_encrypted = true

db_subnet_group_name = data.aws_db_subnet_group.rds.name
vpc_security_group_ids = [data.aws_security_group.rds.id]
Expand Down

0 comments on commit 0726fab

Please sign in to comment.