{"id":13515475,"url":"https://github.com/flux-iac/tofu-controller","last_synced_at":"2026-04-02T01:45:08.436Z","repository":{"id":37462415,"uuid":"440496898","full_name":"flux-iac/tofu-controller","owner":"flux-iac","description":"A GitOps OpenTofu and Terraform controller for Flux","archived":false,"fork":false,"pushed_at":"2026-03-31T18:18:24.000Z","size":18161,"stargazers_count":1614,"open_issues_count":156,"forks_count":179,"subscribers_count":39,"default_branch":"main","last_synced_at":"2026-03-31T18:38:29.923Z","etag":null,"topics":["flux","fluxcd","gitops","kubernetes","terraform"],"latest_commit_sha":null,"homepage":"https://flux-iac.github.io/tofu-controller/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flux-iac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS","copyright":null,"agents":null,"dco":"DCO","cla":null}},"created_at":"2021-12-21T11:42:43.000Z","updated_at":"2026-03-31T18:14:28.000Z","dependencies_parsed_at":"2024-04-17T05:29:34.032Z","dependency_job_id":"fca1595f-9202-4d6b-9d4f-fea5b74328f4","html_url":"https://github.com/flux-iac/tofu-controller","commit_stats":{"total_commits":1357,"total_committers":78,"mean_commits":"17.397435897435898","dds":0.6219602063375091,"last_synced_commit":"814ca281ebf8769216b1d8db2be562d675622230"},"previous_names":["chanwit/tf-controller","flux-iac/tofu-controller","weaveworks/tf-controller","flux-iac/tf-controller"],"tags_count":114,"template":false,"template_full_name":null,"purl":"pkg:github/flux-iac/tofu-controller","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flux-iac%2Ftofu-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flux-iac%2Ftofu-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flux-iac%2Ftofu-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flux-iac%2Ftofu-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flux-iac","download_url":"https://codeload.github.com/flux-iac/tofu-controller/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flux-iac%2Ftofu-controller/sbom","scorecard":{"id":550096,"data":{"date":"2025-08-20T05:57:56Z","repo":{"name":"github.com/flux-iac/tofu-controller","commit":"7d88a6374fd329be36a8085a2b7491c52eb1132a"},"scorecard":{"version":"v5.0.0","commit":"ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4"},"score":8.4,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#binary-artifacts"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":10,"reason":"16 out of 16 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#ci-tests"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#cii-best-practices"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#code-review"}},{"name":"Contributors","score":10,"reason":"project has 24 contributing companies or organizations","details":["Info: hetznercloud contributor org/company found, suse contributor org/company found, sockjs contributor org/company found, appsflyer contributor org/company found, python-glasgow contributor org/company found, fernet contributor org/company found, rfxcom contributor org/company found, ssrl contributor org/company found, mallonie contributor org/company found, fluxcd contributor org/company found, ascendant-systems contributor org/company found, whiteaway contributor org/company found, kanzi limited contributor org/company found, zkgrails contributor org/company found, weaveworks contributor org/company found, Folyam contributor org/company found, acquia contributor org/company found, telenor norway contributor org/company found, containernetworking contributor org/company found, metal3-io contributor org/company found, tektoncd contributor org/company found, go-asset contributor org/company found, jkcfg contributor org/company found, cuttlefacts contributor org/company found, "],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#contributors"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#dangerous-workflow"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yaml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#dependency-update-tool"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#license"}},{"name":"Maintained","score":5,"reason":"6 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#maintained"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/build-and-publish.yaml:16"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":7,"reason":"dependency not pinned by hash detected -- score normalized to 7","details":["Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:37: pin your Docker image by updating alpine:3.22 to alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: Dockerfile.dev:1: pin your Docker image by updating alpine:3.22 to alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: planner.Dockerfile:2","Warn: containerImage not pinned by hash: planner.Dockerfile:38: pin your Docker image by updating alpine:3.22 to alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: planner.Dockerfile.dev:1: pin your Docker image by updating alpine:3.22 to alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: runner-azure.Dockerfile:3","Warn: containerImage not pinned by hash: runner-azure.Dockerfile:5","Warn: containerImage not pinned by hash: runner-base.Dockerfile:2","Warn: containerImage not pinned by hash: runner-base.Dockerfile:41: pin your Docker image by updating alpine:3.22 to alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1","Warn: containerImage not pinned by hash: runner.Dockerfile:2","Warn: containerImage not pinned by hash: runner.Dockerfile.dev:1","Warn: containerImage not pinned by hash: runner.Dockerfile.dev:27","Warn: pipCommand not pinned by hash: .github/workflows/docs.yaml:26","Info:  33 out of  33 GitHub-owned GitHubAction dependencies pinned","Info:  51 out of  51 third-party GitHubAction dependencies pinned","Info:   0 out of  13 containerImage dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: SAST configuration detected: CodeQL","Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#sast"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":8,"reason":"5 out of the last 5 releases have a total of 5 signed artifacts.","details":["Info: signed release artifact: tofu-controller_0.16.0-rc.5_checksums.txt.sig: https://api.github.com/repos/flux-iac/tofu-controller/releases/assets/221116699","Info: signed release artifact: tf-controller_0.16.0-rc.4_checksums.txt.sig: https://api.github.com/repos/flux-iac/tofu-controller/releases/assets/156425041","Info: signed release artifact: tf-controller_0.16.0-rc.3_checksums.txt.sig: https://api.github.com/repos/flux-iac/tofu-controller/releases/assets/126721858","Info: signed release artifact: tf-controller_0.16.0-rc.2_checksums.txt.sig: https://api.github.com/repos/flux-iac/tofu-controller/releases/assets/119967476","Info: signed release artifact: tf-controller_0.16.0-rc.1_checksums.txt.sig: https://api.github.com/repos/flux-iac/tofu-controller/releases/assets/119446855","Warn: release artifact v0.16.0-rc.5 does not have provenance: https://api.github.com/repos/flux-iac/tofu-controller/releases/195285135","Warn: release artifact v0.16.0-rc.4 does not have provenance: https://api.github.com/repos/flux-iac/tofu-controller/releases/146240073","Warn: release artifact v0.16.0-rc.3 does not have provenance: https://api.github.com/repos/flux-iac/tofu-controller/releases/121682188","Warn: release artifact v0.16.0-rc.2 does not have provenance: https://api.github.com/repos/flux-iac/tofu-controller/releases/115025283","Warn: release artifact v0.16.0-rc.1 does not have provenance: https://api.github.com/repos/flux-iac/tofu-controller/releases/114511684"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#signed-releases"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/docs.yaml:18","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/helm-release.yaml:12","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/helm-release.yaml:14","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-runners.yaml:27","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release-runners.yaml:73","Info: topLevel 'contents' permission set to 'read': .github/workflows/build-and-publish.yaml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/docs.yaml:12","Info: topLevel 'contents' permission set to 'read': .github/workflows/e2e.yaml:17","Info: topLevel 'contents' permission set to 'read': .github/workflows/helm-release.yaml:6","Info: topLevel permissions set to 'read-all': .github/workflows/helm-test.yaml:10","Info: topLevel permissions set to 'read-all': .github/workflows/ossf.yaml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/release-runners.yaml:16","Info: topLevel 'contents' permission set to 'read': .github/workflows/release.yaml:14","Info: topLevel 'contents' permission set to 'read': .github/workflows/scan.yaml:11","Info: topLevel 'contents' permission set to 'read': .github/workflows/targeted-test.yaml:9","Info: topLevel 'contents' permission set to 'read': .github/workflows/test.yaml:18","Info: topLevel 'contents' permission set to 'read': .github/workflows/verify.yaml:15"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#token-permissions"}},{"name":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-x4rx-4gw3-53p4 / GO-2025-3830","Warn: Project is vulnerable to: GHSA-fv92-fjc5-jj9h / GO-2025-3787"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ea7e27ed41b76ab879c862fa0ca4cc9c61764ee4/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T10:34:46.467Z","repository_id":37462415,"created_at":"2025-08-20T10:34:46.467Z","updated_at":"2025-08-20T10:34:46.467Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"ssl_error","status_checked_at":"2026-04-02T01:43:36.474Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flux","fluxcd","gitops","kubernetes","terraform"],"created_at":"2024-08-01T05:01:11.745Z","updated_at":"2026-04-02T01:45:08.420Z","avatar_url":"https://github.com/flux-iac.png","language":"Go","funding_links":[],"categories":["Tools","Go","terraform"],"sub_categories":["CI"],"readme":"# Tofu Controller: An IAC Controller for Flux\n\n[![OpenSSF Best Practices](https://bestpractices.coreinfrastructure.org/projects/7761/badge)](https://bestpractices.coreinfrastructure.org/projects/7761)\n\nTofu Controller (previously known as Weave TF-Controller) is a controller for [Flux](https://fluxcd.io) to reconcile OpenTofu and Terraform resources\nin the GitOps way.\nWith the power of Flux together with OpenTofu and Terraform, Tofu Controller allows you to GitOps-ify infrastructure,\nand application resources, in the Kubernetes and IAC universe, at your own pace.\n\n\"At your own pace\" means you don't need to GitOps-ify everything at once.\n\nTofu Controller offers many GitOps models:\n  1. **GitOps Automation Model:** GitOps your OpenTofu and Terraform resources from the provision steps to the enforcement steps, like a whole EKS cluster.\n  2. **Hybrid GitOps Automation Model:** GitOps parts of your existing infrastructure resources. For example, you have an existing EKS cluster.\n     You can choose to GitOps only its nodegroup, or its security group.\n  3. **State Enforcement Model:** You have a TFSTATE file, and you'd like to use GitOps enforce it, without changing anything else.\n  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.\n\n## Get in touch\n\nIf you have a feature request to share or a bug to report, please file an issue.\n\nYou can also reach out via our [Tofu Controller Slack channel](https://cloud-native.slack.com/messages/tofu-controller) — get there by first joining the [CNCF Slack space](https://slack.cncf.io/).\n\n## Quickstart and documentation\n\nTo get started check out this [guide](https://flux-iac.github.io/tofu-controller/getting_started/) on how to GitOps your Terraform resources with Tofu Controller and Flux.\n\nCheck out the [documentation](https://flux-iac.github.io/tofu-controller/) and [use cases](https://flux-iac.github.io/tofu-controller/use-tf-controller/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflux-iac%2Ftofu-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflux-iac%2Ftofu-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflux-iac%2Ftofu-controller/lists"}