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.
Permalink
Failed to load latest commit information.
AWS
DigitalOcean
Packet/DigitalRebar
Turbonomic
VMware
.gitignore legit fix for .terraform removal Oct 16, 2017
LICENSE
README.md

README.md

Terraform Samples

I'm a fan of Hashicorp products in general [as I wrote about here] (http://discoposse.com/2016/11/30/talking-hashicorp-with-ceo-dave-mcjannet/). 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, DiscoPosse.com

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 https://turbonomic.com/blog/on-technology/getting-started-with-terraform-for-digital-ocean/
Building Turbonomic Instance on DigitalOcean http://discoposse.com/2017/01/10/deploying-a-turbonomic-instance-on-digitalocean-using-terraform/
Using SSH Keys with Terraform on DigialOcean http://discoposse.com/2017/02/08/adding-ssh-access-for-digitalocean-when-using-terraform/
Building OpenStack DevStack on DigitalOcean http://discoposse.com/2017/02/14/using-terraform-to-install-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