OpenTofu - Fork open-source de Terraform (backup)
Find a file
Martin Atkins 7780f69bbd initwd: Fix the TF_ACC=1 tests
Earlier work in opentofu/opentofu#2661 caused the module installer to
treat the registry client and the package fetcher as optional dependencies
so that local-only tests (by far our common case across the whole codebase)
could avoid instantiating the registry and go-getter client code and risk
accidentally depending on network services.

However, at the time I didn't notice that this package had TF_ACC=1
acceptance tests, and so although I made systematic updates across all the
tests which appeared to make them pass there were actually several that
were being skipped and so I didn't notice that I hadn't updated them well
enough.

This gets them all passing again by giving the ones that intentionally
access the real OpenTofu Registry and some test-only GitHub repositories
the clients they need to do that.

In a future commit I intend to add this package to our end-to-end test
job that runs as part of our pull request checks so that we're less likely
to forget to update these tests under future maintenance.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-05 07:24:38 -08:00
.github Fix linting on Windows (#3457) 2025-12-02 07:11:14 -03:00
cmd/tofu backend/local: Opt-in to experimental plan/apply/refresh functions 2025-11-21 09:20:59 -08:00
contributing fix: broken links on DEVELOPING.md (#3395) 2025-10-21 05:43:34 -03:00
docs tracing: Centralize our OpenTelemetry package imports 2025-10-30 13:27:10 -07:00
internal initwd: Fix the TF_ACC=1 tests 2025-12-05 07:24:38 -08:00
rfc rfc: A new approach to configuration evaluation, planning, and applying 2025-10-22 08:56:58 -07:00
scripts go.mod: Use the new "tool" directive 2025-10-10 07:06:56 -03:00
testing plan diff: summarize the current -> planned notation 2025-08-26 11:37:44 -07:00
tools execgraph: Marshaling an unmarshaling of execution graphs 2025-11-26 10:34:17 -08:00
version Begin the v1.12.x development period 2025-10-23 11:00:02 -07:00
website Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
.copywrite.hcl ignore any lock file on license header check (#1776) 2024-07-08 15:27:11 +03:00
.devcontainer.json Update .devcontainer.json go's version to 1.22 (#2385) 2025-01-17 15:45:56 +01:00
.gitattributes fix: internal/getprovider tests on Windows (#3275) 2025-09-16 15:29:31 -03:00
.gitignore Fix linting on Windows (#3457) 2025-12-02 07:11:14 -03:00
.go-version go.mod: Use Go 1.25.3 2025-10-14 12:51:39 -07:00
.golangci.yml Fix linting in internal/command (#2798) 2025-05-15 07:39:11 -04:00
.goreleaser.yaml More nightly build work, hardcode env vars and remove version (#3138) 2025-08-13 14:33:52 +01:00
.licensei.toml feat: add license checks on dependencies (#310) 2023-09-13 19:10:41 +03:00
.tfdev Rename github.com/placeholderplaceholderplaceholder/opentf to github.com/opentofu/opentofu (#461) 2023-09-20 14:35:35 +03:00
CHANGELOG.md Retain resource instances with a new lifecycle argument - destroy (#3409) 2025-12-04 18:49:57 +04:00
CHARTER.md Updated references and moved governance stuff to a new repo opentofu/org (#2953) 2025-06-25 10:50:10 -07:00
CODE_OF_CONDUCT.md Update core team email. (#752) 2023-10-19 12:03:39 +02:00
codecov.yml Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
CODEOWNERS update CODEOWNERS to match the new governance chart (#2959) 2025-06-25 12:47:24 -03:00
CONTRIBUTING.md Update CONTRIBUTING.md - Changing TSC membership (#3053) 2025-07-22 09:25:26 -07:00
CONTRIBUTING.RELEASE.md Add github workflow to run govoulncheck on all branches with supported OpenTofu versions (#2636) 2025-05-14 18:26:22 +03:00
Dockerfile OpenTofu 1.10: Disable usage of ghcr.io image as a base image (#1994) 2025-01-07 10:08:23 -05:00
Dockerfile.minimal Fixes #2356: Minimal base image (#2375) 2025-01-15 13:46:34 +01:00
go.mod go.mod: go get golang.org/x/crypto@v0.45.0 2025-11-24 11:37:32 -08:00
go.sum go.mod: go get golang.org/x/crypto@v0.45.0 2025-11-24 11:37:32 -08:00
GOVERNANCE.md Updated references and moved governance stuff to a new repo opentofu/org (#2953) 2025-06-25 10:50:10 -07:00
LICENSE Update copyright notice (#1232) 2024-02-08 09:48:59 +00:00
MAINTAINERS.md OpenTofu Charter and Governance (#2830) 2025-05-23 08:18:56 -04:00
Makefile Fix linting on Windows (#3457) 2025-12-02 07:11:14 -03:00
README.md Add TSC Meeting link / info (#2847) 2025-05-23 10:00:27 -04:00
RELEASE.md Added nightly build process - Experimental (#3111) 2025-08-12 14:25:34 +01:00
SECURITY.md Added Security disclousure policy (#749) 2023-10-19 15:27:59 -07:00
WEEKLY_UPDATES.md Weekly update 2024-10-11 (#2068) 2024-10-11 15:20:00 +02:00

OpenTofu

OpenSSF Best Practices

OpenTofu is an OSS tool for building, changing, and versioning infrastructure safely and efficiently. OpenTofu can manage existing and popular service providers as well as custom in-house solutions.

The key features of OpenTofu are:

  • Infrastructure as Code: Infrastructure is described using a high-level configuration syntax. This allows a blueprint of your datacenter to be versioned and treated as you would any other code. Additionally, infrastructure can be shared and re-used.

  • Execution Plans: OpenTofu has a "planning" step where it generates an execution plan. The execution plan shows what OpenTofu will do when you call apply. This lets you avoid any surprises when OpenTofu manipulates infrastructure.

  • Resource Graph: OpenTofu builds a graph of all your resources, and parallelizes the creation and modification of any non-dependent resources. Because of this, OpenTofu builds infrastructure as efficiently as possible, and operators get insight into dependencies in their infrastructure.

  • Change Automation: Complex changesets can be applied to your infrastructure with minimal human interaction. With the previously mentioned execution plan and resource graph, you know exactly what OpenTofu will change and in what order, avoiding many possible human errors.

Getting help and contributing

Tip

For more OpenTofu events, subscribe to the OpenTofu Events Calendar!

Reporting security vulnerabilities

If you've found a vulnerability or a potential vulnerability in OpenTofu please follow Security Policy. We'll send a confirmation email to acknowledge your report, and we'll send an additional email when we've identified the issue positively or negatively.

If you believe you have found any possible copyright or intellectual property issues, please contact liaison@opentofu.org. We'll send a confirmation email to acknowledge your report.

Registry Access

In an effort to comply with applicable sanctions, we block access from specific countries of origin.

License

Mozilla Public License v2.0