Skip to content

Commit

Permalink
rename final snapshot on exiting db
Browse files Browse the repository at this point in the history
  • Loading branch information
roncitrus committed Jan 22, 2024
1 parent 60e7851 commit a8fa1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/environments/cdpt-chaps/database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ resource "aws_db_instance" "database" {
password = aws_secretsmanager_secret_version.db_password.secret_string
vpc_security_group_ids = [aws_security_group.db.id]
depends_on = [aws_security_group.db]
snapshot_identifier = local.application_data.accounts[local.environment].db_snapshot_identifier
# snapshot_identifier = local.application_data.accounts[local.environment].db_snapshot_identifier
db_subnet_group_name = aws_db_subnet_group.db.id
final_snapshot_identifier = "final"
publicly_accessible = true
Expand Down

0 comments on commit a8fa1e2

Please sign in to comment.