lccmrx / terraform-aws-template

This repository is a initializer for new Terraform Repos.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TERRAFORM TEMPLATE

How-to Guide

Build Status

Terraform is a IaC tool to manage infrastructure between many common Cloud Providers, such as Azure, AWS, Google Cloud Platfform and others.

Features

  • Create AWS resources
  • Destroy AWS resources
  • Environment parity
  • Version Controlling the Infrastructure

Dependencies

  • Terraform CLI
  • AWS User Account with Admin Credentials (Programatic Access)

Installation

To use Terraform, make sure you have the CLI installed, or prefferable, the TFEnv tool.

Document Link
TERRAFORM DOCUMENTATION https://www.terraform.io/downloads.html
TFEENV DOCUMENTATION https://github.com/tfutils/tfenv

Always remenber to git pull to keep your local repository updated to the AWS account!

After installing the CLI, run:

terraform init

Usage

source ./loadenv
terraform plan -out=$(tfplandir)
terraform apply $tflastplan -auto-approve -backend=true -backend-config=bucket=$(tfbucket)

License

MIT

About

This repository is a initializer for new Terraform Repos.

License:MIT License


Languages

Language:HCL 93.8%Language:Shell 6.2%