From 790c498c5e0d673f77bb89719d1c7143137e84a0 Mon Sep 17 00:00:00 2001 From: Alistair Curtis Date: Tue, 23 Jan 2024 09:13:31 +0000 Subject: [PATCH] Use 24 hour timestamp --- 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 b9dc6329e14..45f5a0c6579 100644 --- a/terraform/environments/cdpt-chaps/database.tf +++ b/terraform/environments/cdpt-chaps/database.tf @@ -15,7 +15,7 @@ resource "aws_db_instance" "database" { depends_on = [aws_security_group.db] 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-snapshot-${formatdate("YYYYMMDDHHmmss", timestamp())}" + final_snapshot_identifier = "final-snapshot-${formatdate("YYYYMMDDhhmmss", timestamp())}" publicly_accessible = true }