/terratest-workshop

This repository contains materials for use in a Terratest workshop.

Primary LanguageGo

Terratest workshop

This repository contains materials for use in a Terratest workshop.

About

The following branches contains some simple examples of Terraform infrastructure code with automated tests created with Terratest.

Example name Branch
Amazon EC2 Web Server git checkout step1
S3 Bucket file processing git checkout step2
RESTful shopping cart - Saving order to DynamoDB git checkout step3
RESTful shopping cart - Sending order notification git checkout step4

Requirements

  1. Install Terraform (requires version >= 0.12.0). and make sure it's on your PATH.
  2. Install Golang (requires version >=1.10) and make sure this code is checked out into your GOPATH (you can check GOPATH directory with go env).
  3. Install Dep (requires version >=0.5.1).