/terraform-operator

A Kubernetes CRD to handle terraform operations

Primary LanguageGoApache License 2.0Apache-2.0

Terraform Operator

A Kubernetes CRD and Controller to handle Terraform operations by generating k8s jobs catered to perform Terraform workflows

What is terraform-operator?

This project is:

  • A way to run Terraform in Kubernetes by defining Terraform deployments as Kubernetes manifests
  • A controller that configures and starts Kubernetes Jobs when it sees changes to the Kubernetes manifest
  • A Terraform runner which runs Terraform plan/apply, and can also perform pre and post scripts

This project is not:

  • An HCL to YAML converter or vice versa
  • A Terraform module definition

Docs

Installation

Configurations

Advanced Topics

Architecture

Development

Requires the following installed on your system:

  • go >= v1.15.0
  • operator-sdk ~ v1.4.0