Skip to content

Instantly share code, notes, and snippets.

@benjamistan
Last active May 26, 2021 15:55
Show Gist options
  • Save benjamistan/33815ee35ebf8133fb7237b357d36e17 to your computer and use it in GitHub Desktop.
Save benjamistan/33815ee35ebf8133fb7237b357d36e17 to your computer and use it in GitHub Desktop.
terraform {
backend "s3" {
bucket = "<BUCKET_NAME>"
key = "<STATE_FILE_NAME>.tfstate"
region = "xx-xxxx-x"
encrypt = true
dynamodb_table = "<DYNAMO_DB_LOCK_TABLE_NAME>"
}
}
provider "aws" {
region = "xx-xxxx-x"
version = "~>3.25"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment