So as should surprise no-one, I’ve been doing a lot of work with TerraForm lately, and I’m a huge fan of it in general. Recently doing a post talking about the basics of modules. (which can be found here).
But one common question I’ve gotten a lot of is how to go about Learning TerraForm. Where do I start? So I wanted to do a post gathering some education resources to help.
First for the what is TerraForm, TerraForm is an open source product, created by HashiCorp which enables infrastructure-as-code, specifically designed to be cloud vendor agnostic. If you want to learn the basics, I recommend this video I did with Steve Michelotti about TerraForm and Azure Government:
But more than that, the question becomes how do I go about learning TerraForm. The first part is configuring your machine, and for that you can find a blog post I did here. There are somethings you need to do to setup your environment for terraform, and without any guidance it can be confusing.
But once you know what TerraForm is, the question becomes, how do I learn about / how to use it?
- TerraForm – Learn : HashiCorp does provide a site that has several tutorials that walk you through the basics of TerraForm with a lot of code samples.
- Azure Fridays : A video with Scott Hanselman about the key elements of TerraForm.
- Deploying Infrastructure with TerraForm : A good video talking about the specifics of deploying infrastructure with TerraForm.
- Securing the state file with TerraForm : A key part of doing TerraForm development is managing state, and its important to do this securely and here’s a video on how to do so.
Outside of these, what I recommend is using the module registry, so one of the biggest strengths of TerraForm is a public module repository that allows you to see re-usable code written by others. I highly recommend this as a great way to see working code and play around with it. Here’s the public module registry.
So that’s a list of some resources to get you started on learning TerraForm, obviously there are also classes by PluralSight, Udemy, and Lynda. But I’ve not leveraged those, if you are a fan of structured class settings, those would be good places to start.