Skip to content

Commit

Permalink
Revert db name to include postfix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronpettit authored Apr 25, 2023
1 parent f80bae8 commit 22232a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/src/db.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
resource "aws_dynamodb_table" "ar_table" {
name = aws_dynamodb_table.ar_table.name
name = "${data.aws_ssm_parameter.db_name.value}-${random_string.postfix.result}"
hash_key = "pk"
range_key = "sk"
billing_mode = "PAY_PER_REQUEST"
Expand Down Expand Up @@ -39,4 +39,4 @@ resource "aws_backup_plan" "backup" {
delete_after = 360
}
}
}
}

0 comments on commit 22232a4

Please sign in to comment.