Pull mirror of github.com/flux-iac/tofu-controller. Our patch lives in lab/tofu-controller.
  • Go 96.8%
  • Shell 1.4%
  • Makefile 0.9%
  • Go Template 0.4%
  • Dockerfile 0.3%
  • Other 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yumin Kim 877521d608
build(tfctl): add Windows builds to goreleaser (#1950)
Signed-off-by: YuMin Kim <yuminkim.dev@gmail.com>
2026-11-18 12:24:00 +00:00
.github chore(deps): bump the gh-patch group across 1 directory with 3 updates (#1931) 2026-11-13 12:20:23 +00:00
api feat!: remove the deprecated v1alpha1 Terraform API (#1941) 2026-11-13 14:46:06 +00:00
charts/tofu-controller chore: release 0.17.0 (#1945) 2026-11-16 09:23:54 +00:00
cmd chore(deps): bump the go-minor group across 3 directories with 12 updates (#1932) 2026-11-13 10:51:13 +00:00
config chore: release 0.17.0 (#1945) 2026-11-16 09:23:54 +00:00
controllers chore(deps): bump the go-minor group across 3 directories with 12 updates (#1932) 2026-11-13 10:51:13 +00:00
docs chore: release 0.17.0 (#1945) 2026-11-16 09:23:54 +00:00
hack fix: migrate to crd-ref-docs (#1757) 2026-04-10 15:16:31 +01:00
internal refactor: restructure the runner (#1917) 2026-10-27 09:43:42 +00:00
logos Add weaveworks logo 2023-06-07 14:53:39 +07:00
mtls refactor: restructure the runner (#1917) 2026-10-27 09:43:42 +00:00
rfcs rename github.com/weaveworks/tf-controller to github.com/flux-iac/tofu-controller 2024-02-27 18:17:56 +01:00
runner feat(runner): Set controller instance ID in environment (#1943) 2026-11-13 15:02:43 +00:00
tfctl chore(deps): bump the go-patch group across 3 directories (#1933) 2026-11-13 11:19:36 +00:00
tools chore: release 0.17.0 (#1945) 2026-11-16 09:23:54 +00:00
utils refactor: simplify quota error detection to utils package 2026-04-16 16:53:47 +01:00
.dockerignore tilt: speed up compiling of binaries 2024-03-09 08:25:11 +01:00
.gitignore chore(ci): prepare for new release (#1709) 2026-01-27 09:58:40 +00:00
.go-version chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
.goreleaser.yml build(tfctl): add Windows builds to goreleaser (#1950) 2026-11-18 12:24:00 +00:00
.trivyignore fix: remove CVE exceptions from trivyignore file (#1794) 2026-05-14 11:17:17 +01:00
ADOPTERS.md Update ADOPTERS.md 2023-06-07 14:59:05 +07:00
CHANGELOG.md chore: release 0.17.0 (#1945) 2026-11-16 09:23:54 +00:00
ct.yaml feat: add servicemonitor for chart 2022-12-05 08:55:47 +01:00
DCO Add DCO, text taken from https://developercertificate.org/ 2023-08-17 15:19:41 +01:00
DEVELOPMENT.md chore(docs): update docs to refer to CNCF Slack Channel (#1644) 2025-11-25 11:18:46 +00:00
Dockerfile chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
Dockerfile.dev fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
go.mod chore(deps): bump go.opentelemetry.io/otel/trace from 1.45.0 to 1.47.0 (#1946) 2026-11-17 09:56:06 +00:00
go.sum chore(deps): bump go.opentelemetry.io/otel/trace from 1.45.0 to 1.47.0 (#1946) 2026-11-17 09:56:06 +00:00
LICENSE change LICENSE to Apache License version 2 2024-02-27 15:41:31 +07:00
lintconf.yaml feat: add servicemonitor for chart 2022-12-05 08:55:47 +01:00
local-e2e.sh feat: support ExternalArtifact as a Terraform source (#1901) 2026-10-28 09:12:59 +00:00
MAINTAINERS chore: add self to MAINTAINERS 2025-11-17 20:11:57 +00:00
Makefile feat: support ExternalArtifact as a Terraform source (#1901) 2026-10-28 09:12:59 +00:00
mkdocs.yml Rename Weave GitOps to tofu-controller 2025-03-19 20:57:36 +01:00
planner.Dockerfile chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
planner.Dockerfile.dev fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
PROJECT feat!: remove the deprecated v1alpha1 Terraform API (#1941) 2026-11-13 14:46:06 +00:00
README.md chore(docs): update docs to refer to CNCF Slack Channel (#1644) 2025-11-25 11:18:46 +00:00
RELEASE_PROCESS.md chore(ci): prepare for new release (#1709) 2026-01-27 09:58:40 +00:00
runner-azure.Dockerfile fix(deps): bump python packages (#1858) 2026-08-06 13:59:46 +01:00
runner-base.Dockerfile chore(deps): go minor bumps (#1910) 2026-10-23 16:01:02 +01:00
runner.Dockerfile fix(deps): bump opentofu to v1.12.1 (#1806) 2026-05-28 22:45:06 +01:00
runner.Dockerfile.dev fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00
SECURITY.md Update SECURITY.md 2024-03-04 01:06:05 +07:00
Tiltfile fix(deps): remove libcrypto3 pin (#1874) 2026-08-31 16:47:30 +01:00

Tofu Controller: An IAC Controller for Flux

OpenSSF Best Practices

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

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

Tofu Controller offers many GitOps models:

  1. GitOps Automation Model: GitOps your OpenTofu and 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.

Get in touch

If you have a feature request to share or a bug to report, please file an issue.

You can also reach out via our Tofu Controller Slack channel — get there by first joining the CNCF Slack space.

Quickstart and documentation

To get started check out this guide on how to GitOps your Terraform resources with Tofu Controller and Flux.

Check out the documentation and use cases.