Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created September 29, 2020 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/543bb632eb1dab27a5cb6c51a0d2c2c3 to your computer and use it in GitHub Desktop.
Save goyalmohit/543bb632eb1dab27a5cb6c51a0d2c2c3 to your computer and use it in GitHub Desktop.
terraform {
required_version = ">= 0.12, < 0.13"
}
provider "aws" {
region = "us-east-2"
}
resource "aws_dynamodb_table" "terraform-locks" {
name = "terraform-locks-mohit-20200929"
billing_mode = "PAY_PER_REQUEST"
hash_key = "LockID"
attribute {
name = "LockID"
type = "S"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment