Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Sample Terraform templates for various providers and applications

License

Notifications You must be signed in to change notification settings

mdray/terraform-samples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sample Terraform templates for various providers and applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 74.4%
  • Shell 25.6%