Skip to content

arunalakmal/Terraform-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Backend Configuration

S3 Backend Configuration for Terraform State

Issue this command when initializing the project:

terraform init --backend-config="dynamodb_table=tf-remote-state-lock" --backend-config="bucket=tc-remotestate-7653"

Note: Bucket Name random digits will be changed

Folder Named "Backend" used to add the backend configuration to the repository and, this repository code is to create the backend infrastructure

Simply Create the infrastructure with this code and copy the file inside the "Backend" folder to the TF code which needs to have the backend configuration and issue the above init command.

View my blog article for more information: How To Configure Terraform AWS Backend With S3 And DynamoDB Table

About

S3 Backend Configuration for Terraform State

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published