Skip to content

thieslei/labthyl_backend_lock_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

labthyl_backend_lock_setup


Status GitHub Issues GitHub Pull Requests License


This project create a backend structure to be use on Terraform projects on AWS Environments.

📝 Table of Contents

🧐 About

This project will create a S3 bucket and a DynamoDB Table to be used as a Terraform Backend configuration for your projects.

🏁 Getting Started

These instructions will get you all the information to reproduce this project on your environemtn.

Prerequisites

What things you need to install the software and how to install them:

  • terraform 1.0.7
  • AWS Account and user with this previlegies.

Installing

Terraform

https://www.terraform.io/downloads.html

AWS Account

https://portal.aws.amazon.com/billing/signup#/start

🔧 Running the project

  1. Clone this repo into a local folder.
gh repo clone thieslei/labthyl_backend_lock_setup
  1. Update the S3 name and DynamoDB table name as you want.

  2. In your local folder run the Terraform commands:

terraform init
terraform plan
terraform apply
  1. Check it out in your AWS Account if the resources was created.

🎈 Usage

On your Terraform project use this configuration on your backend block.

terraform {
  backend "s3" {
    bucket         = "name-terraform-state-bucket"
    key            = "name/terraform.tfstate"
    region         = "regionaws"
    dynamodb_table = "name-terraform-state-table"
  }
}

⛏️ Built Using

✍️ Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages