Category: Kubernetes, Terraform, nginx, Hashicorp, github, yaml

Terraform, an open source project managed by HashiCorp, is immensely powerful when it comes to defining and maintaining infrastructure as code. In combination with a declarative API, like a cloud provider API, it can determine, preview, and apply changes to the codified infrastructure. Consequently, it is common for teams to use Terraform to define the infrastructure of their Kubernetes clusters.

But despite Kubernetes’ own declarative API, and the obvious benefits of maintaining a cluster’s infrastructure and services from the same infrastructure as code repository, Terraform is far from the first choice to provision Kubernetes resources.

And while it integrates Kubernetes resources into Terraform, maintaining the Kubernetes resources in HCL is a lot of effort.

Related Articles