Terraform 0.9 and DNSimple API v2
A few weeks ago Hashicorp released Terraform 0.9. Terraform is a provisioning tool developed by Hashicorp that enables you to build, codify, and version your infrastructure. With Terraform you can describe your infrastructure using configuration files that you can store under version control and manage as you would do with any other codebase.
Despite the fact that it was labeled as a minor release (Terraform hasn't reached 1.0 yet); don't let the numbers fool you. Terraform 0.9 was quite a big release. If you don't believe me, simply take a look at the Terraform changelog.
Here are some of the benefits of upgrading to Terraform 0.9:
- Official DNSimple API Go client: Terraform is developed in Go, and the new version uses the official DNSimple Go client. The Go client is developed and supported by the DNSimple team, and constantly updated with the newer API features.
- API v2 compatibility: with Terraform 0.9 you have full access to all DNSimple API v2 features, including full support for multiple accounts per user.
- Ability to customize record priority: James Healy submitted a PR which was merged into the release that allows you to change the priority of certain records. This feature was originally blocked by a limitation of the previous DNSimple Go client.
These are just some of the examples of what you can do with the new version of Terraform and the official DNSimple Go API client.
If you are upgrading from a previous Terraform version and you were using the API v1, you will need to upgrade the DNSimple provider configuration to use the new API access token. You will also need to specify the Account ID. The procedure is explained in the documentation of the DNSimple Provider for Terraform.
Thanks to the Terraform team for their support, and to all the people who contributed to the DNSimple Provider for Terraform.
Go download Terraform and give it a try!
Italian software developer, a PADI scuba instructor and a former professional sommelier. I make awesome code and troll Anthony for fun and profit.
We think domain management should be easy.
That's why we continue building DNSimple.
Elapsed time with Ruby, the right way
Elapsed time calculations based on Time.now are wrong. Learn why they are wrong and how to fix them.
Technical reasons behind the ALIAS record
In this article I will try to explain the technical reason behind the ALIAS record and important limitations of the CNAME record you need to know.