Skip to content

Latest commit

 

History

History

tf-backend

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Create AWS E3/DynamoDB backend

Prepare

Checkout code:

git clone https://github.com/TheDevOpsHub/TerraformHub.git

Update the S3 and DynamoDB naming variable:

variable "bucket_name" {
  description = "The name of the S3 bucket. Must be globally unique."
  type        = string
  default     = "your-bucker-name"
}

variable "table_name" {
  description = "The name of the DynamoDB table. Must be unique in this AWS account."
  type        = string
  default     = "your-table-name"
}

Deploy

Run:

cd scripts
./create-backend.sh

Cleanup

Run:

cd scripts
./destroy-backend.sh