Repository navigation
v0.4.0
Using Bzlmod
Add to your MODULE.bazel:
bazel_dep(name = "rules_tofu", version = "0.4.0")
tofu = use_extension("@rules_tofu//toolchain:extensions.bzl", "tofu")
use_repo(tofu, "tofu_toolchains")What's Changed
- Link to API reference by @benbirt in #46
- docs: settle the toolchain's scope; pin releases from signed checksums by @benbirt in #47
- chore: bump hashicorp/null from 3.2.4 to 3.3.2 in /examples/lock by @dependabot[bot] in #48
- chore: bump bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml from 1.5.1 to 1.6.0 in the github-actions group by @dependabot[bot] in #49
- feat: call tf_library targets from other repositories by module_source by @benbirt in #50
- feat: fetch registry, git and archive modules with tf_modules by @benbirt in #51
- feat: pin locks the providers of modules from other repositories by @benbirt in #54
- test: plan real registry and GitHub modules in CI by @benbirt in #55
- chore: apply bazel mod tidy, and check for it in CI by @benbirt in #56
- feat: support OpenTofu's .tofu and .tofu.json files by @benbirt in #65
- fix(modules): count only the root's own calls as using direct deps by @benbirt in #66
- docs: bring CONTRIBUTING.md invariants up to date with from_lock and tf_modules by @benbirt in #67
- ci: cache per Bazel version, save caches only from main by @benbirt in #68
- fix(lock): check lock entries' addresses with OpenTofu's registry-address by @benbirt in #69
- fix(modules): report module cycles at once, check matched directories, resolve backslash paths by @benbirt in #70
- test: fetch far fewer provider zips in CI by @benbirt in #71
- fix(fmt): format and check the files in srcs by name, not the package directory by @benbirt in #72
- test: share the outer Bazel's user root with the nested Bazels by @benbirt in #73
- test: run broken_workspace's cases against one nested Bazel by @benbirt in #74
- test: share the host Go caches with the nested Bazels by @benbirt in #77
- fix(pin): lock the submodules callers reach and libraries without module_source by @benbirt in #75
- fix(modules): survive symlinks in fetched modules, rename the generated targets by @benbirt in #78
- fix(dupcheck): pass var_files labels and paths as separate flags by @benbirt in #79
- feat: let Bazel keep fetched providers, tofu and modules across output bases by @benbirt in #80
- ci: key the repository cache on everything that decides what is downloaded by @benbirt in #81
- fix(modules): fail naming the provider label a called module needs by @benbirt in #82
- feat: run a module's OpenTofu tests as a Bazel test with tf_test by @benbirt in #83
- fix(host_tools): explain the Go SDK floor when the host tools fail to build by @benbirt in #111
- fix(test): key a run module by tofu's rule, dropping only .tftest.hcl by @benbirt in #106
- fix(providers): make a tag for a locked provider fail the fetch, not the extension by @benbirt in #109
- fix: remove the validate scratch copy; constrain tofu toolchains on the exec platform only by @benbirt in #108
- chore: bump the github-actions group with 2 updates by @dependabot[bot] in #112
- fix(test): take a tf_test's root module from the provider, not the label by @benbirt in #107
- fix(runner): run tofu in one run directory per deploy; make the launchers ordinary executables by @benbirt in #110
- fix: reject variables files tofu loads by itself in data by @benbirt in #116
- fix(runner): refuse a symlink to a directory; keep the executable bit in a test's copy by @benbirt in #115
- fix(pin): combine a directory's requirements by provider source by @benbirt in #113
- test: run the integration tests' nested Bazel on the version running them by @benbirt in #114
- fix(modules): match a call to the most specific module; let a module call its own address by @benbirt in #117
- docs: correct the pin check,
varstypes and registry module labels by @benbirt in #118 - fix(providers): agree on a prerelease version; name the fix when a platform or the lock's package is missing by @benbirt in #120
- test: stop the case runner losing cases; make the fmt fixture buildable; ignore every nested workspace by @benbirt in #121
- fix(modules): re-resolve a fact of the wrong kind; name git submodules; small source and fetch fixes by @benbirt in #122
- fix: build a library whose root module is empty; refuse a deploy of one by @benbirt in #124
- fix(pin): lock what a bundle library in another repository serves by @benbirt in #126
- fix!: make OpenTofu 1.12 the oldest supported release; drop the 1.8.5 pin by @benbirt in #127
- fix(providers)!: name from_lock's lock
lock_file, and require it by @benbirt in #134 - docs: rewrite the README, the API docstrings and the example comments by @benbirt in #128
- docs: rewrite CONTRIBUTING.md, CLAUDE.md and the integration test README by @benbirt in #129
- docs: rewrite comments in test drivers, build files, CI and fixtures by @benbirt in #130
- docs: rewrite the comments in the Go tools by @benbirt in #132
- docs: correct and tidy the Starlark comments and private docstrings by @benbirt in #133
- fix: bring stale messages and flag descriptions in the Go tools up to date by @benbirt in #137
- fix: two more stale flag descriptions in the Go tools by @benbirt in #138
Full Changelog: v0.3.2...v0.4.0