Created
March 11, 2021 00:38
-
-
Save kunduso/6e1dba046e7889ec08f6b931175757ae to your computer and use it in GitHub Desktop.
This is a representation of the contents of an AWS backend with bucket and dynamoDB details
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
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