Sample Terraform templates for various providers and applications
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore legit fix for .terraform removal Oct 16, 2017

Terraform Samples

I'm a fan of Hashicorp products in general [as I wrote about here] ( Terraform is particularly exciting because of it's relative simplicity and flexibility.

These are some sample Terraform builds that you may find helpful. These are all presented as-is and some include the need to incur public cloud consumption charges, so please make sure that you fully understand if you are just getting started with using Terraform on AWS and DigitalOcean.

Thank you, and I hope you find this helpful!
Eric Wright,

What you'll find here

These samples currently cover a few items and have some todo items as well. Here is the coverage today and in the future as a progress checklist:

  • DigitalOcean - Simple
  • DigitalOcean - Simple with cloud-init
  • DigitalOcean - Simple with with SSH keys
  • DigitalOcean - OpenStack DevStack All-in-One
  • AWS - LightSail
  • AWS - EC2 Simple (AmazonLinuxSmall)
  • AWS - EC2 Multi-Machine Public Network
  • VMware vSphere - Simple
  • VMware vSphere - Simple with static IP
  • VMware vSphere - Simple multi-machine
  • VMware vSphere - Simple with remote exec example for post-deploy script run

Blogs that Discuss these example files

Content URL
Simple DigitalOcean Example
Building Turbonomic Instance on DigitalOcean
Using SSH Keys with Terraform on DigialOcean
Building OpenStack DevStack on DigitalOcean

For any requests or comments, please feel free to submit as an issue.

Pull requests with additional examples by the community are always welcome!

The computer can't tell you the emotional story. It can give you the exact mathematical design, but what's missing is the eyebrows.

  • Frank Zappa