/terraform

Terraform Scripts

Primary LanguageHCLGNU General Public License v3.0GPL-3.0

Mike Lynch's Terraform Projects

SuperLinter Checkov TfSec

Description

This repository contains various Terraform based projects I am currently or have previously worked on. It is meant to be a sandbox for my development and learning as well as a portfolio to demonstrate my abilities and experience.


Projects


Setup Procedures

Install Terraform command-line interface

  • Browse to the Terraform Downloads Page and follow the steps for your operating system
  • Alternatively for Windows based systems, you can use Chocolatey to manage the install (Reference)

Setup terraform command aliases on Windows

  • As an admin edit this file C:\Program Files\Git\etc\profile.d\aliases.sh
  • Starting on line 7 create as many aliases as you would like
  • Example: alias tf='terraform'

Use Terraform Cloud to track state and allow for collaboration

  • Create/Sign-in to a Terraform Cloud Account (Click Here)
  • Create/Join an Organization (Click Here)
  • Create a workspace for your project
  • In the terraform code block add the below configuration
terraform {
  cloud {
    organization = "{{ORG_NAME}}"

    workspaces {
      name = "{{WORKSPACE_NAME}}"
    }
  }
}

Authors

Mike Lynch (mlynch1985@gmail.com)