4235 Commits

Author SHA1 Message Date
Martin Atkins
fefddbc915 CHANGELOG: Entry for opentofu/opentofu#3607
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-18 08:19:21 -08:00
Ilia Gogotchuri
1eacb9a046 Retaining resources during destruction - New flag -suppress-forget-errors (#3588)
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
2025-12-16 15:41:03 +04:00
Ilia Gogotchuri
fd19a3763f Retain resource instances with a new lifecycle argument - destroy (#3409)
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-12-04 18:49:57 +04:00
Christian Mesh
5e7397b8a3 Parallelize provider installation (#2729)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-01 11:55:53 -05:00
Christian Mesh
607d74c882 Defer provider checksum and parallelize schema fetching (#2730)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-12-01 11:28:52 -05:00
krishna sindhur
64d3940fc6 bug fix for Instance module without resources/outputs was not reporting correct length. (#3469)
Signed-off-by: KrishnaSindhur <krishna.sindhur@harness.io>
2025-12-01 09:15:10 -05:00
Martin Atkins
8149270787 CHANGELOG: entry for opentofu/opentofu#3507
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-18 06:59:35 -08:00
Martin Atkins
1cf9d209ed CHANGELOG: Entry for opentofu/opentofu#3474
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-10 10:09:19 -08:00
Martin Atkins
3ffe148ac0 CHANGELOG: Entry for opentofu/opentofu#3479
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-10 09:49:35 -08:00
Martin Atkins
4d84aa3e10 CHANGELOG: Entry for opentofu/opentofu#3456
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-03 11:27:13 -08:00
Andrei Ciobanu
ce37d71ab3 Add changelog for PR #3429 (#3438)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-29 09:45:58 +02:00
Christian Mesh
dd642bd53f Begin the v1.12.x development period
The v1.11 series will now continue maintenence in the v1.11 branch, and
so this branch is now tracking the work for the forthcoming v1.12 series.

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-10-23 11:00:02 -07: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
Martin Atkins
554b533847 CHANGELOG: Entry for opentofu/opentofu#3388
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-20 07:27:04 -07:00
ian
b7bcc13ea5 encryption/keyprovider/aws_kms: Use APNInfo instead of UserAgent 2025-10-17 12:08:51 -07:00
Martin Atkins
a14e3db835 CHANGELOG: Copyediting in preparation for v1.11.0 release
As usual we've been gradually adding things to this in a decentralized and
uncoordinated fashion throughout the v1.11 development period, and so this
is a first pass of copyediting to try to present the information in a more
useful order (which is, of course, highly subjective), to describe the
changes in a more consistent writing style, to consolidate entries for
work that happened over multiple PRs but yet represents only one
end-user-facing feature, and to remove a few entries for changes that
are really just implementation details that don't affect the externally-
visible behavior of OpenTofu in any significant way.

We'll probably edit this some more throughout the v1.11 prerelease period,
but this is intended as a starting point for use with the v1.11.0-beta1
release.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-16 11:26:08 -07:00
Diógenes Fernandes
176120f3e4 Implicit moves for modules (#3327)
Implicit move statement for modules previously using `count` and
then moving to use `enabled`, or vice versa.

Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-15 09:10:15 -03:00
Martin Atkins
ec31947e4a CHANGELOG: Entry for opentofu/opentofu#3372
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-14 12:52:00 -07:00
Martin Atkins
29408a9a54 CHANGELOG: Entry for opentofu/opentofu#3354
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 13:06:27 -07:00
Martin Atkins
724a02cac9 CHANGELOG: Entry for opentofu/opentofu#3332
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-06 16:27:26 -07:00
Diogenes Fernandes
f839281c15 Add CHANGELOG for module-enabled functionality
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-03 13:17:47 -03:00
Larry Bordowitz
bcbfebce3d Implement the Azure Key Provider
This uses the same auth package as the newly-rewritten Azure State
Backend, so many of the properties and environment variables are the
same. I have put this through both the compliance test as well as built
the binary and run some end-to-end tests, and found that it
appropriately uses the Azure key as expected.

Signed-off-by: Larry Bordowitz <laurence.bordowitz@gmail.com>
2025-09-29 06:19:02 -04:00
Martin Atkins
3b838464ab CHANGELOG: Entry for opentofu/opentofu#3292
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-26 09:08:31 -07:00
Diogenes Fernandes
0eb18fb49c Add conditional enabled field on managed and data resources (#3042)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-09-26 08:44:39 -03:00
Martin Atkins
116826c32f website: S3 module sources now support all standard AWS credential sources
As of go-getter v1.8.0, which we already upgraded in an earlier commit,
the S3 "getter" now uses the AWS SDK's default credentials chain
configuration and so follows the same set of credentials-searching
strategies that AWS CLI and other AWS SDK applications would follow.

We learned this only after having already merged that upgrade, so this is
a retroactive documentation and changelog update to describe the change.
Since go-getter is now delegating this whole question to the AWS SDK, our
future upgrades of the AWS SDK will automatically adopt any upstream
changes to the default credentials chain and so our documentation about
this is now more general than before: the intention is that our users can
generally assume that OpenTofu should support everything that is documented
as supported for the AWS CLI, instead of us listing out an explicit search
sequence that will be long and inevitably become outdated again.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-23 16:38:37 -07:00
Larry Bordowitz
0090e8a18c Add new configuration to AzureRM Backend (#3251)
Signed-off-by: Larry Bordowitz <laurence.bordowitz@gmail.com>
2025-09-15 19:22:17 +01:00
Martin Atkins
79e5070b47 CHANGELOG: New entry for opentofu/opentofu#3256
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-10 11:45:38 -07:00
Christian Mesh
fd4e426a12 Fix test crash when using deprecated outputs in the root module (#3249)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-05 14:41:32 -04:00
Christian Mesh
b66d7a717f Upgrade github.com/go-viper/mapstructure/v2 to v2.4.0 (#3229)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-04 13:20:04 +01:00
Larry Bordowitz
63e8845ad9 Refactor the azurerm backend (#3034)
Signed-off-by: Larry Bordowitz <laurence.bordowitz@gmail.com>
2025-09-03 11:06:11 -04:00
Christian Mesh
e76fcfabd7 Use parallel errgroup to increase file copy speed (#3214)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-02 08:32:02 -04:00
Christian Mesh
9c998f9387 Bump github.com/hashicorp/go-getter to v1.7.9 (#3227)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-02 07:56:39 -04:00
Christian Mesh
9583256ca1 Remove all calls to DeepCopy in resource instance write codepath (#3110)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-09-02 07:24:53 -04:00
James Humphries
ed44cd7c84 fixed merging issue with CHANGELOG (#3225)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
Co-authored-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
2025-09-02 15:06:03 +04:00
Ilia Gogotchuri
2c68afe753 CLI import target validation for incorrect for_each keys (#3106)
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
2025-09-02 13:21:19 +04:00
Martin Atkins
e2d889d12d CHANGELOG: Updates for opentofu/opentofu#3180
The upgrade of golang.org/x/crypto includes a change to the SSH
implementation to make it validate certificates more strictly as required
by the current draft specification.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-08-26 19:12:27 -07:00
Martin Atkins
5d6ab9e711 CHANGELOG: entry for opentofu/opentofu#3159
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-08-26 11:37:44 -07:00
Martin Atkins
6e1cf66a8c CHANGELOG: entry for opentofu/opentofu#3182
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-08-26 06:27:53 -07:00
Christian Mesh
8dc7aa2e24 Follow provider schema more closely during test provider mocking (#3069)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: James Humphries <James@james-humphries.co.uk>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
2025-08-22 10:40:12 -04:00
Martin Atkins
9a161adbe3 go.mod: Upgrade to Go 1.25 (#3166)
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-08-22 07:10:11 -04:00
Andrei Ciobanu
48c55a4bfe Add logging for dynamodb client in s3 backend (#3103)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-08-20 11:28:02 +03:00
Andrei Ciobanu
f5aaf006e4 Bump openbao/api to 2.3.0 in order to fix GO-2025-3783 (#3134)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-08-19 15:23:31 +03:00
Christian Mesh
864b8ed8a6 Validations should only be run during non-destroy operations (#3131)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2025-08-19 07:31:34 -04:00
Diógenes Fernandes
11d416edf9 add for_each attribute to the mock_provider block (#3087)
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-08-18 10:36:04 -03:00
James Humphries
57d8db26ba Improve error message for missing submodules inside a valid module (#3144)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2025-08-14 16:08:41 +01:00
Andrei Ciobanu
6787734a9a Bump go version to the latest one to fix sql/Rows.Scan - changelog (#3133)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-08-13 11:27:51 +03:00
Aaron George
e802c63f58 Add tag options for S3 state backend objects (#3038)
Signed-off-by: Aaron George <aarongeorge1994+github@gmail.com>
Co-authored-by: Andrei Ciobanu <andreic9203@gmail.com>
2025-08-07 10:39:19 +03:00
James Humphries
c5fd93482a Fix crash in unmarkDeepWithPathsDeprecated (#3105)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Signed-off-by: James Humphries <James@james-humphries.co.uk>
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-08-06 15:40:19 +01:00
Christian Mesh
be433be96f Support for static variables used with encrypted plans (#1998)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
Co-authored-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-07-28 12:11:43 -04:00
Ilia Gogotchuri
dd2ace53e2 Diffing lists containing multiline strings (#3030)
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com>
2025-07-18 20:44:05 +04:00