Git Product home page Git Product logo

terraform-boilerplate's Introduction

๐Ÿ‘‹ Welcome to terraform-boilerplate!

Terraform boilerplate is a repository aiming to help DevOps to deploy infrastructure on AWS

This project is using terraform to deploy infrastructure, you can download it here: https://learn.hashicorp.com/tutorials/terraform/install-cli

๐Ÿ“š Usage

The project is aimed to be used with terraform workspace which is why there is the envs directory. Feel free to create new files in this folder to overwrite default variables defined in tf/2-variables.tf.

envs/qa.tfvars is use in our CI/CD pipeline to make sure the code we want to merge can be deployed.

๐Ÿš€ Deploy

$ cd ./tf
$ terraform init
$ terraform plan -var-file ../envs/qa.tfvars
$ terraform apply -var-file ../envs/qa.tfvars

๐Ÿ’ฃ Destroy

$ terraform destroy -var-file ../envs/qa.tfvars

๐Ÿ’ป Testing

You can find in the .github/workflows folder different QA that you can run to test with Github:

  • terraform.yml: automatically running on master and PR when you push. This make a terraform init & plan
  • terraform-qa.yml: manually triggered in Github Actions. This make a terraform init, plan, apply & destroy
  • terraform-qa-no-destroy: manually triggered in Github Actions. This make a terraform init, plan & apply
  • terraform-qa-only-destroy: manually triggered in Github Actions. This make a terraform init & destroy
  • terraform-everyday-only-destroy: automatically triggered everyday in Github Actions. This make a terraform init & destroy on all workspaces

โœ… Services Available

Here are the services that you can deploy using this repository:

๐Ÿค Missing a specific feature?

Feel free to ask for the features you want! Our teams will be happy to add them!

โค๏ธ Show your support

Give a โญ๏ธ if this project helped you!

โœ๏ธ Author

๐Ÿ‘ค Trackit

๐Ÿ‘ฅ About us

We are an Amazon Web Services Advanced Consulting Partner specializing in cloud management, consulting, and software development solutions based in Venice, CA.

terraform-boilerplate's People

Contributors

jgchoppe avatar jklakosz avatar dr0p42 avatar simonmeyerrr avatar bastienk avatar louislecce avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.