OpenTofu - Fork open-source de Terraform (backup)
Find a file
Martin Atkins e1a4f00b16 go.mod: Upgrade all AWS SDK dependencies to latest available
Along with all of the usual purely-mechanical updates that we get from
these upgrades, these upgrades also introduce the ability for OpenTofu's
"s3" state storage backend to make use of credentials issued by the
"aws login" command recently added to the official AWS CLI.

Behind the scenes, this command uses OAuth to issue a refresh token, and
then the AWS SDK implementation uses that refresh token to request
time-limited session credentials. Successfully running "aws login" causes
there to be a new "login_session" setting in the AWS config file,
specifying which principal ARN was used to log in. Whenever that setting is
present, the SDK expects to find a valid refresh token in a new cache
directory kept in "~/.aws/login", and will fail if no valid token is
present in that cache directory.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2026-02-13 08:32:44 -08:00
.github Exclude v1.8 from govulncheck (#3733) 2026-02-05 17:54:44 +02:00
cmd/tofu Refactor init command to use View instead of Ui (#3749) 2026-02-11 16:29:31 +02:00
contributing Remove last remnants of ".go-version" file 2026-01-20 07:50:18 -05:00
docs Remove last remnants of ".go-version" file 2026-01-20 07:50:18 -05:00
internal docs: clarify that uuid() function does not produce RFC 4122 compliant v4 uuids (#3763) 2026-02-13 09:09:31 +00:00
rfc [RFC]Proposal to remove Meta struct, rework flags handling and pave the way for a possible new CLI layer (#3471) 2026-02-12 08:46:31 +02: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 Remove last remnants of ".go-version" file 2026-01-20 07:50:18 -05:00
version version: Update which dependencies we consider "interesting" 2025-12-17 12:57:02 -08:00
website docs: clarify that uuid() function does not produce RFC 4122 compliant v4 uuids (#3763) 2026-02-13 09:09:31 +00: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 to Go 1.25.6 (#3719) 2026-02-03 07:28:18 -05: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
.golangci.yml lint: reintroduce ST1012 static check 2026-01-05 11:54:37 -06: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 go.mod: Upgrade to Go 1.26 2026-02-12 07:57:45 -08: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: Upgrade all AWS SDK dependencies to latest available 2026-02-13 08:32:44 -08:00
go.sum go.mod: Upgrade all AWS SDK dependencies to latest available 2026-02-13 08:32:44 -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 Remove last remnants of ".go-version" file 2026-01-20 07:50:18 -05:00
README.md Add nightly build info, clean up README.md (#3744) 2026-02-09 15:34:39 +00:00
RELEASE.md Add nightly build info, clean up README.md (#3744) 2026-02-09 15:34:39 +00: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

OpenSSF Best Practices

Homepage | Slack | Get Started

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.

Getting help and contributing

Tip

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

Key features

  • 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.

Nightly Builds

Nightly builds are available for testing the latest changes on main. These are experimental and not intended for production use. Each build is removed after 30 days.

Nightly builds can be found at https://nightlies.opentofu.org/nightlies. For those who want to automate with tooling, https://nightlies.opentofu.org/nightlies/latest.json will be kept up to date with the latest build information.

For more details, see RELEASE.md.

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. For more details, see the Registry Inclusion Policy.

License

Mozilla Public License v2.0