You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform-aws-pre-base/aws.dynamodb.tf

14 lines
426 B
HCL

resource "aws_dynamodb_table" "terraform_lock" {
name = "${var.org_name}-${var.dynamodb_table_name_slug}"
hash_key = "LockID"
billing_mode = "PAY_PER_REQUEST"
# read_capacity = 1
# write_capacity = 1
# capacities are not relevant on on-demand/PAY_PER_REQUEST billing mode
# capacities are very low since terraform apply shouldn't see heavy use
attribute {
name = "LockID"
type = "S"
}
}