Skip to content

Commit 25d4865

Browse files
authored
Merge pull request #103 from pipetail/mb-ondemand-dynamodb
fix: ondemand dynamodb
2 parents bcf1180 + 213d085 commit 25d4865

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ module "terraform_state_bucket_logs" {
5656
# The terraform state lock is meant to be ephemeral and does not need recovery
5757
#tfsec:ignore:AWS086
5858
resource "aws_dynamodb_table" "terraform_state_lock" {
59-
name = var.dynamodb_table_name
60-
hash_key = "LockID"
61-
read_capacity = 2
62-
write_capacity = 2
59+
name = var.dynamodb_table_name
60+
hash_key = "LockID"
61+
62+
billing_mode = "PAY_PER_REQUEST"
6363

6464
server_side_encryption {
6565
enabled = true

0 commit comments

Comments
 (0)