Commit Graph

33093 Commits

Author SHA1 Message Date
James Humphries
cadfbfe9fe Improve documentation around enabled meta-argument (#3576)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-12-11 10:38:30 +00:00
James Humphries
230d49e0e4 Small tweaks to ephemeral variable documentation (#3577)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-12-11 10:38:30 +00:00
Christian Mesh
2de2bb3e5b Include changelog for #3553
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 13:56:19 -05:00
Toni Kangas
bd5c9bfc65 Fix nil pointer dereference in config filtering (#3553)
Signed-off-by: Toni Kangas <toni.kangas@upcloud.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 13:55:29 -05:00
Christian Mesh
85de3d40fa Update version to v1.11.1
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
v1.11.1
2025-12-10 11:59:49 -05:00
Christian Mesh
e3fa72589a Update changelog for https://github.com/opentofu/opentofu/pull/3567
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 10:55:55 -05:00
Andrei Ciobanu
6354053d50 Use root context when evaluating import.id expressions (#3567)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 10:54:48 -05:00
Christian Mesh
068be1035b Update changelog for #3566
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 10:35:30 -05:00
Diógenes Fernandes
0d3cca647a fix: bug when deleting a resource using enabled on tofu plan -out (#3566)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 10:33:41 -05:00
Christian Mesh
74f1c6552b Update changelog for https://github.com/opentofu/opentofu/pull/3564
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 10:05:27 -05:00
Andrei Ciobanu
3a452a84e4 Fixed the mismatch between arguments sent to the for_each evaluator (#3564)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
Co-authored-by: Diogenes Fernandes <diofeher@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-10 10:03:29 -05:00
Christian Mesh
8576a00c80 Mark 1.11.0 as released in CHANGELOG.md
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-09 13:53:33 -05:00
Christian Mesh
8e6309a401 Version 1.11.0
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
v1.11.0
2025-12-09 13:02:34 -05:00
Christian Mesh
0c670e6ec9 Update support policy in RELEASE.md per TSC-09-12-25 (#3559)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-09 12:54:01 -05:00
Christian Mesh
d223b726ae Typo in CHANGELOG.md
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-09 12:53:44 -05:00
Martin Atkins
798d0141a5 CHANGELOG: Support for v1.11 ends in August 2026
We're intending to explicitly document the end of support for each of our
release series moving forward, starting with the v1.11.x series here.

This seemingly-arbitrary cutoff is actually aligned with the date when
Go v1.25 is expected to reach end of security support, since we cannot
feasibly provide security support longer than the language and standard
library that OpenTofu's functionality depends on.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-09 09:52:43 -08:00
Andrei Ciobanu
e71a21dbc4 Update index to mention the new version (#3558)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-12-09 18:22:52 +02:00
Martin Atkins
6a3cc0c2aa go.mod: Upgrade to Go 1.25.5
We typically want our main branch to be on the latest Go release anyway,
but in this case we also intend to backport this to the v1.11 release to
patch GO-2025-4175, as discussed in opentofu/opentofu#3546.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-08 11:17:30 -08:00
Andrei Ciobanu
654130584f Bump RC version
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
v1.11.0-rc4
2025-11-25 09:48:56 -05:00
Martin Atkins
4b16f5690b go.mod: go get golang.org/x/crypto@v0.45.0
This is primarily to clear naive security scanner reports for GO-2025-4135,
which is a potential denial of service if attacker-controlled software can
send malformed packets back to OpenTofu through the SSH Agent proxy
channel.

We are not considering this a significant vulnerability for OpenTofu
because the SSH Agent forwarding pattern already assumes that software on
the remote system is trusted not to misuse the keys that are exposed though
the proxy channel.

Due to the Go team's policy of ratcheting upgrades between all of the
golang.org/x/* modules, this also requires upgrading three other modules.
I have reviewed the changes in those, and most appear to not affect
OpenTofu at all. There are some performance improvements to the HTTP2 and
QUIC implementations in x/net, but they don't seem to be a big concern for
us.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-24 15:38:48 -08:00
Diógenes Fernandes
df7a1a4b6c fix: use variables at enabled in nested modules (#3475)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-11-24 19:38:50 -03:00
Andrei Ciobanu
84bd72870b Bump RC version (#3514)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
v1.11.0-rc3
2025-11-19 10:02:16 -05:00
Christian Mesh
33e04753a3 Fix import validation with resource reference (unknown value) (#3513)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-11-19 09:58:55 -05:00
Andrei Ciobanu
482132659b Bump RC version (#3502)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
v1.11.0-rc2
2025-11-17 13:52:05 +00:00
James Humphries
111a1f7996 Ensure Ephemeral values are handled by the diff transformer (#3495)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-11-17 07:42:40 -05:00
Martin Atkins
df34865265 Mention in logs and version output when FIPS-140-3 mode is enabled
Unfortunately the Go team has unilaterally decided that all programs built
with Go 1.24 and later always allow enabling FIPS-140-3 mode -- both in
its "on" and "only" configurations -- regardless of whether the authors
of that software intend to support running in that restricted mode, or
whether they are even testing their application in that configuration.

We have not yet made a final decision on how and whether we intend to
support this mode in our official builds, but we _do_ know that OpenTofu
cannot currently function correctly with this mode enabled because it
relies on standard library features and external libraries that are not
available in that case.

Therefore in the meantime we'll mention explicitly in both the internal
logs and in the "tofu version" output if we appear to be running in that
mode, meaning that if someone tries to use it and finds that it doesn't
work properly then if they open a GitHub issue and share those two
artifacts (as requested by our bug report template) then we can know that
we might need to turn on the special mode in order to reproduce the
reported problem, rather than wasting time trying to reproduce it in the
standard mode.

We do still need to make a final decision about what we want to do with
this in the long run, but this is intended as an short-term compromise
that allows folks to experiment with this unsupported mode if they wish
while hopefully making it clearer that in the mean time we may
deprioritize fixing problems that only occur when this unusual mode is
enabled.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-11-17 07:40:57 -05:00
Martin Atkins
4726dfa00d CHANGELOG: Entry for opentofu/opentofu#3364
The new SDK version we adopted includes new definitions required to support
the eusc-de-east-1 retion, and so this upgrade should be sufficient for
the "s3" state storage backend to work with S3 buckets in that region.

Note that this region is part of the new separate European partition of
AWS, rather than the main commercial partition that's simply called "aws".
This means that it's segregated from regions in the various other
partitions.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-12 08:27:35 -08:00
Andrei Ciobanu
1a37c45171 [v1.11] Fixes for GH workflows for older OpenTofu versions (#3486)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-11-11 11:12:36 +02:00
Christian Mesh
b8c7610084 Fix nil entry in state resource instance map from state hook (#3478)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-11-06 16:28:47 -05:00
James Humphries
2a9256e2cd Bump version for 1.11.0-rc1 (#3466)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
v1.11.0-rc1
2025-11-03 16:05:14 +00:00
Christian Mesh
e6a33e055a Fix OTEL init from semconv conflict (#3446)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-10-29 15:17:42 -04:00
Martin Atkins
cd28b8ab17 website: "element" function supports negative indices (#3440)
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-29 08:14:30 -04:00
Andrei Ciobanu
0a9e6ddfad [Backport][v1.11] for_each inside dynamic blocks can now call provider-defined functions (#3441)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-29 08:13:57 -04:00
Andrei Ciobanu
e80213d497 [Backport][v1.11] Better documentation for state_tags and lock_tags (#3444)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-29 12:01:32 +02:00
Christian Mesh
c3dc5b4a83 Update what's new page for 1.11 (#3425)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-10-23 11:32:51 -04:00
James Humphries
2e73239e87 Add goreleaser key to main release process (#3423)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
v1.11.0-beta1
2025-10-23 15:38:43 +01:00
James Humphries
ec37f46b5f Use goreleaser-pro for release process 1.11 backport (#3422)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-10-23 15:17:33 +01:00
Christian Mesh
56bccad283 Bump version for 1.11.0-beta1
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-10-23 09:49:08 -04:00
James Humphries
9eaba0d83d No longer mention that deprecation of module variables and outputs is experimental (#3417)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-10-23 14:48:10 +01:00
Christian Mesh
4907623433 go.mod: Update "go-tfe" library to latest release (#3413)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-10-22 11:33:35 -07:00
Martin Atkins
4031dd0e38 rfc: A new approach to configuration evaluation, planning, and applying
This is a followup to our earlier RFC describing some drawbacks and
limitations of the current OpenTofu language runtime and proposing to move
to a new approach. Whereas the previous RFC primarily focused on defining
the problem, this document aims to propose the start of a solution, in
the form of a high-level architectural model that we can hopefully find
consensus on before we move on to discussing the associated implementation
details.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-22 08:56:58 -07:00
Larry Bordowitz
8b99bac328 go.mod: upgrade tencent libraries (#3412)
Signed-off-by: Larry Bordowitz <laurence.bordowitz@gmail.com>
2025-10-22 16:51:52 +01:00
Diogenes Fernandes
13f2a9fcec refactor: use TF_AZURE_TEST_CLIENT_* variables instead of default ones
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-22 11:44:39 -03:00
Diogenes Fernandes
8b4fcce514 test: allowing environment variables on azure acceptance tests
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-22 11:44:39 -03:00
Diogenes Fernandes
6a2bb41f9a test: avoid panics
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-22 11:44:39 -03:00
Diogenes Fernandes
0097923395 deps: upgrade Azure-related libraries
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-22 11:44:39 -03:00
Martin Atkins
bc0faecff8 rfc: Minor revision to "Miscellaneous Configuration Settings in Modules"
While drafting this RFC originally I had intended to carve out an exception
of ignoring required_version arguments in .tf files while continuing to
support them in .tofu files, but apparently I lost that detail during some
copyediting and so the current draft implies that OpenTofu would continue
to use required_version in .tf files unless there's an OpenTofu-specific
declaration that takes precedence.

This update aims to clarify the proposal's handling of modules that are
written only for Terraform without using any OpenTofu-specific mechanisms:
in that case, we must just make a best effort to load the module in
OpenTofu and let it fail with a more specific error if the module happens
to be using language features that OpenTofu does not support, so that
loading can succeed when the module is only using the subset of features
that are cross-compatible between both systems.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-22 07:08:29 -07:00
Andrei Ciobanu
31d7bddbc2 go.mod: go get cloud.google.com/go/kms@v1.23.2 && go get google.golang.org/api@v0.252.0 (#3410)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-22 15:28:42 +03:00
James Humphries
cea35d6206 Bump our hcl fork to include fix for Provider defined functions in parentheses (#3402)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-10-22 10:40:53 +01:00
Martin Atkins
2a04940157 CHANGELOG: Entry for opentofu/opentofu#3393
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-21 16:07:38 -07:00