Free Trial

Terraform 0.9 and DNSimple API v2

Simone Carletti's profile picture Simone Carletti on

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.

For DNSimple customers, Terraform 0.9 represents a very important upgrade. The DNSimple provider bundled with Terraform was updated to use the new version of the DNSimple API.

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!

Share on Twitter and Facebook

Simone Carletti's profile picture

Simone Carletti

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.

Try us free for 30 days
4.5 stars

4.3 out of 5 stars.

Based on and reviews.