Created
June 23, 2020 03:45
-
-
Save ksummersill2/c282fc638437f408b7c643f610ee9220 to your computer and use it in GitHub Desktop.
Create DynamoDB Table for Terraform State management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "aws_dynamodb_table" "terraform_state_lock" { | |
name = "terraform-lock" | |
read_capacity = 5 | |
write_capacity = 5 | |
hash_key = "LockID" | |
billing_mode = "PAY_PER_REQUEST" | |
attribute { | |
name = "LockID" | |
type = "S" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment