Skip to content

A GitOps Terraform controller for Kubernetes

License

Notifications You must be signed in to change notification settings

ioncoa/tf-controller

 
 

Repository files navigation

Weave GitOps Terraform Controller

Weave GitOps Terraform Controller (aka Weave TF-controller) is a controller for Flux to reconcile Terraform resources in the GitOps way. With the power of Flux together with Terraform, TF-controller allows you to GitOps-ify infrastructure, and application resources, in the Kubernetes and Terraform universe, at your own pace.

"At your own pace" means you don't need to GitOps-ify everything at once.

TF-controller offers many GitOps models:

  1. GitOps Automation Model: GitOps your Terraform resources from the provision steps to the enforcement steps, like a whole EKS cluster.
  2. Hybrid GitOps Automation Model: GitOps parts of your existing infrastructure resources. For example, you have an existing EKS cluster. You can choose to GitOps only its nodegroup, or its security group.
  3. State Enforcement Model: You have a TFSTATE file, and you'd like to use GitOps enforce it, without changing anything else.
  4. Drift Detection Model: You have a TFSTATE file, and you'd like to use GitOps just for drift detection, so you can decide to do things later when a drift occurs.

Quickstart and documentation

To get started check out this guide on how to GitOps your Terraform resources with TF-controller and Flux.

Check out the documentation for a list of features and use cases.

Roadmap

Q2 2022

  • Improve security
  • Performance and scalability
  • Cloud cost estimation
  • Interop with Notification controller's Events and Alert
  • CLI implementation: tfctl
  • Test coverage reaching 72.5%

Q3 2022

  • ARM64 & Gravitron support
  • Containerd compatibility
  • Write back and show plan in PRs
  • Test coverage reaching 75%

Q4 2022

  • Test coverage reaching 77.5%

Q1 2023

  • TBD

About

A GitOps Terraform controller for Kubernetes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.3%
  • Makefile 1.7%
  • Smarty 1.4%
  • Other 1.6%