Skip to content

Commit 3732ad4

Browse files
CCM-7890 fix table recovery name
1 parent 38b7422 commit 3732ad4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

infrastructure/terraform/modules/backend-api/dynamodb_table_templates.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,10 @@ resource "aws_dynamodb_table" "templates" {
3232
tags = {
3333
"NHSE-Enable-Dynamo-Backup" = var.enable_backup ? "True": "False"
3434
}
35+
36+
lifecycle {
37+
ignore_changes = [
38+
name, # To support backup and restore which will result in a new name otherwise
39+
]
40+
}
3541
}

0 commit comments

Comments
 (0)