Skip to content

Instantly share code, notes, and snippets.

Created Mar 11, 2021
What would you like to do?
This is a representation of the contents of an AWS backend with bucket and dynamoDB details
terraform {
backend "s3" {
bucket = "$(BackendBucketName)" # the name of the S3 bucket that was created
encrypt = true
key = "$(PathToTFStateFile)" # the path to the terraform.tfstate file stored inside the bucket
region = "$(BucketRegion)" # the location of the bucket
dynamodb_table = "$(BackendLockTableName)" # the name of the table to store the lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment