From a8fa1e29665838711171da864ee609d2e5def180 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Mon, 22 Jan 2024 15:01:12 +0000 Subject: [PATCH] rename final snapshot on exiting db --- terraform/environments/cdpt-chaps/database.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/environments/cdpt-chaps/database.tf b/terraform/environments/cdpt-chaps/database.tf index 549e8bbb0a9..713b4663ec1 100644 --- a/terraform/environments/cdpt-chaps/database.tf +++ b/terraform/environments/cdpt-chaps/database.tf @@ -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