Automate the automation of IaC with Python
IaC has grown in popularity and in ways that people have never imagined. The most popular IaC framework currently is arguably Terraform. Terraform doesn’t just work on servers and more solid resources of the like, it works on APIs and looser infrastructure as well. Basically, anything that you can use in any major cloud, there is a Terraform API to use it. Terraform is the ultimate automation tool in many ways, and it can be further automated with the help of Python.
Terraform is, of course, written in Go, which is great because Go is a very good complement to Python. One is good where the other lacks and vice versa. While Go is good for singular implementations, Python is great at multiplying the effectiveness of that implementation. Basically, Go is the bullet and Python is the gun, and that is an effective combination. We will use this combination to great effect in this section.
HashiCorp, the creator of Terraform, has created...