562 Commits

Author SHA1 Message Date
Martin Atkins
23d8ab1448 go.mod: go get github.com/zclconf/go-cty-yaml@v1.2.0
This version includes more complete support for the "!!merge" tag, which
now allows using a sequence of mappings instead of just a single mapping.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-18 08:19:21 -08:00
Andrei Ciobanu
265b9003a5 go.mod: go get github.com/Azure/azure-sdk-for-go/sdk/azidentity@v1.13.1 (#3602)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-12-18 08:59:04 +02:00
Martin Atkins
184830c031 go.mod: go get golang.org/x/net@v0.48.0
This is just a routine upgrade. It should not significantly affect
OpenTofu's external behavior.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-17 06:54:32 -08:00
Martin Atkins
9e13f15bb6 go.mod: go get go.opentelemetry.io/otel/sdk@v1.39.0
This upgrades both the OpenTelemetry SDK and all the base modules it
depends on, because things tend to work best when these are all upgraded
in lockstep to the same minor release.

Sometimes these upgrades also cause an indirect change to a newer version
of the OpenTelemetry "semconv" package which we then need to match in our
own traceattrs package, but no such change is required this time because
there has not been a new semconv version published in the meantime.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-17 06:54:04 -08:00
Martin Atkins
ea203931f7 go.mod: go get github.com/aws/aws-sdk-go-v2@v1.41.0
This updates only the base SDK module and the "smithy" helper library it
depends on. The service-specific functionality that OpenTofu uses is in
separate Go modules that are not upgraded yet here, because we'll want to
review their changes more closely in case they affect the behavior of our
S3 state storage or AWS KMS encryption features.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-17 06:53:34 -08:00
Martin Atkins
dea62e2990 go.mod: golang.org/x/crypto@v0.46.0
This is a routine upgrade. The only change is a resynchronization of the
fallback bundle of trusted TLS certificates in x509roots, but OpenTofu
does not use of that bundle.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-10 14:43:48 -08:00
Martin Atkins
267022ca8c go.mod: Upgrade several golang.org/x/* dependencies
These are just routine upgrades. None of the upstream changes here relate
to anything OpenTofu makes use of; the goal is just to get these
relatively-trivial upgrades out of the way because these x/* modules
tend to all ratchet forward together and so this clears the way for
upgrading others that might have more important changes later.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-10 07:16:51 -08:00
Martin Atkins
fe5ce783fc go.mod: go get github.com/hashicorp/go-version@v1.8.0
This is just a routine dependency upgrade. Upstream there have been a few
small performance improvements that are unlikely to be particularly
beneficial to OpenTofu but shouldn't cause us any problems.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-12-10 07:16:07 -08:00
Martin Atkins
4d1c6c151b 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 11:37:32 -08:00
Martin Atkins
3b6bc5692a go.mod: Trivial upgrades for a few golang.org/x/* modules
The Go team tends to ratchet all of these libraries forward together even
if there have been no significant changes since the last release, and so
these three only include some fixes to typos in comments and test code
and some internal modernization to use the generic reflect.TypeFor instead
of the interface-based reflect.TypeOf.

Upgrading these should not affect OpenTofu's behavior in any material way,
and so this is just to get these easy ones out of the way before we deal
with the more significant changes in the other related modules that will
likely require closer review.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-11-17 14:02:13 -08:00
Martin Atkins
72a32f726d lang/eval: Beginnings of a different way to handle config eval
In "package tofu" today we try to do everything using a generic acyclic
graph model and generic graph walk, which _works_ but tends to make every
other part of the problem very hard to follow because we rely a lot on
sidecar shared mutable data structures to propagate results between the
isolated operations.

This is the beginning of an experimental new way to do it where the "graph"
is implied by a model that more closely represents how the language itself
works, with explicit modelling of the relationships between different
types of objects and letting results flow directly from one object to
another without any big shared mutable state.

There's still a lot to do before this is actually complete enough to
evaluate whether it's a viable new design, but I'm considering this a good
starting checkpoint since there's enough here to run a simple test of
propagating data all the way from input variables to output values via
intermediate local values.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-27 10:15:41 -07: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
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
0097923395 deps: upgrade Azure-related libraries
Signed-off-by: Diogenes Fernandes <diofeher@gmail.com>
2025-10-22 11:44:39 -03: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
3ae9b29a92 go.mod: go get github.com/aliyun/alibaba-cloud-sdk-go@v1.63.107
This is just a routine upgrade, not expected to change the external
behavior of OpenTofu in any significant way.

However, notably the OpenTofu team does not currently have any way to run
the acceptance tests for this backend, so we cannot be sure that this won't
cause some kind of regression. I've reviewed the changes to these modules
as best I could from the Git history and it seems to be primarily
autogenerated API stub updates and a few small bugfixes, so I think the
risk is relatively low but there is nonetheless still some risk.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-21 16:02:52 -07:00
Martin Atkins
3426be27ef go.mod: go get k8s.io/client-go@v0.34.1
This also updates the other three k8s.io/* modules that we use, as
prerequisites for the upgrade.

The indirect dependency landscape for these modules has changed quite a lot
since the versions we were previously using, and so we have some new
indirect dependencies here. I quickly reviewed each of them and confirmed
that they seem to be under suitable licenses.

The k8s.io/utils/pointer package has been deprecated in favor of
k8s.io/utils/ptr, so this also updates our two callers of that to avoid
calling into deprecated functions.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-21 06:54:13 -07:00
Andrei Ciobanu
943c54079a go.mod: go get cloud.google.com/go/storage@v1.57.0 (#3385)
Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
2025-10-17 18:16:53 +03:00
Martin Atkins
fb51c171b7 go.mod: go get github.com/ProtonMail/go-crypto@v1.3.0
This is a routine upgrade that does not cause any significant chance to
OpenTofu's behavior.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-15 07:13:05 -07:00
Martin Atkins
95ce04c726 go.mod: go get github.com/lib/pq@v1.10.9
This library is a dependency of our "postgresql" state storage
implementation.

This is just a routine upgrade to the latest available patch release. This
is mainly just a collection of minor upstream bugfixes and performance
improvements.

Notably this adds support for context.Context-based cancellation, though
that won't do anything in OpenTofu because we intentionally prevent
cancellation from reaching any of the state storage implementations so that
we can save new state snapshots even when other parts of OpenTofu are
shutting themselves down in response to a cancellation.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-14 16:09:25 -07:00
James Humphries
82ff2084f0 go.mod: go get github.com/openbao/openbao/api/v2@v2.4.0
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-14 16:09:07 -07:00
Martin Atkins
e7cf4a4080 go.mod: go get github.com/hashicorp/consul/api@v1.32.4
This is just a routine upgrade, with no significant change in
functionality. It caused several indirect dependency changes too, but
they don't affect OpenTofu's main behavior.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-14 14:11:27 -07:00
Martin Atkins
90099919ec go.mod: go get go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp@v0.63.0
This is just a routine upgrade, bringing this last remaining OpenTelemetry
dependency up-to-date to match with the others we've upgraded recently.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-14 12:52:00 -07:00
Martin Atkins
78744a23c7 go.mod: Upgrade our various AWS SDK for Go dependencies
Although we usually prefer to upgrade in small units, in practice these
dependencies are all coupled together and relatively expensive to test, so
in this case it seems better to upgrade them all together and test them
all in a single set of acceptance test runs.

This is intended only as a routine upgrade, although upgrading the SDK is
often all that's needed to support any newly-added AWS regions or support
for existing services in additional regions, so this may expand the set
of regions that our AWS-integrated features can interact with.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-13 08:19:02 -07:00
Martin Atkins
cc5d324098 go.mod: go get go.uber.org/mock@v0.6.0
This is just a routine upgrade. We use this dependency only in our tests,
so this upgrade does not risk changing OpenTofu's behavior. There do not
seem to be any concerning changes upstream.

There are some systematic changes to the shape of the generated mock code,
with the results also included in this commit.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-13 08:18:06 -07:00
Martin Atkins
bbdb446a15 go.mod: go get github.com/spf13/afero@v1.15.0
The changes to the core functionality since v1.9.3 seem to largely just
be internal changes such as adopting more modern functions from the Go
standard library. Most of the externally-visible changes were to
vendor-specific filesystem implementations that OpenTofu does not make any
use of, and so don't affect OpenTofu's behavior at all.

One notable change is that the upstream project has switched to a
multi-module structure where the vendor-specific filesystem implementations
that have special dependencies are each split into a separate Go module,
and so the root module now has far fewer direct dependencies, and that's
the cause of all of the deletions from our go.sum in this commit. The Go
toolchain is smart enough to know that we were not depending on the parts
of Afero that used those dependencies anyway and so they were not listed
in our go.mod, but it's still nice to remove a few items from the set
of dependencies the toolchain needs to probe when making installation
decisions.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-10 08:47:11 -07:00
Martin Atkins
6e789abed6 go.mod: go get go.opentelemetry.io/contrib/exporters/autoexport@v0.63.0
We were previously running a very old untagged commit of this module, and
the code in this module has been rearranged a lot in the meantime making
it hard to compare, but it seems like it's still implementing essentially
the same main functionality for tracing setup, just now extended for more
elaborate forms of the standard OpenTelemetry environment variables.

Unfortunately, the purpose of this module is to make dynamic runtime
decisions about exactly which transports to use and so this new version
brings in many additional indirect dependencies than before, most of which
are irrelevant for OpenTofu's current purposes because they related to
the logging and tracing parts of OpenTelemetry, whereas OpenTofu currently
focuses only on tracing. The logging and metrics part of OpenTelemetry were
still very early and experimental at the time of the commit we previously
depended on, and so it seems that the main upstream change here has been
improved support for those other use-cases. Most of these new indirect
dependencies are therefore unreachable at runtime by OpenTofu in practice.

For OpenTofu's purposes the only significant new capability here is to
set OTEL_TRACES_EXPORTER to "console" to write trace information to stdout,
but that remains unreachable in OpenTofu in practice because we currently
ignore that environment variable unless it is set to "otlp" exactly. We
could consider supporting "console" in a future release, but this mode
is questionable for OpenTofu because writing to stdout would interfere
with OpenTofu's main UI or machine-readable output. We'll wait for another
day to discuss the tradeoffs of that.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-10 08:45:36 -07:00
Martin Atkins
cbfc28472d go.mod: Upgrade various golang.org/x/* dependencies
The Go team uses automation to generate unnecessary version bumps across
all of these that make it impossible to upgrade them individually because
they all mutually depend on the latest versions of each other, so
unfortunately we have to accept the risk of updating all of these at once
in order to update any one of them.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-10 08:23:54 -07:00
Martin Atkins
e74bf2d0a1 go.mod: Use the new "tool" directive
Previously the Go toolchain had no explicit support for "tools" and so we
used the typical Go community workaround of adding "tools.go" files (two,
for some reason) that existed only to trick the Go toolchain into
considering the tools as dependencies we could track in go.mod.

Go 1.24 introduced explicit support for tracking tools as part of go.mod,
and the ability to run those using "go tool" instead of "go run", and so
this commit switches us over to using that strategy for everything we were
previously managing in tools.go.

There are some intentional exceptions here:

- The protobuf-compile script can't use "go tool" or "go run" because the
  tools in question are run only indirectly through protoc. However, we
  do still use the "tool" directive in go.mod to tell the Go toolchain that
  we depend on those tools, so that it'll track which versions we are
  currently using as part of go.mod.
- Our golangci-lint Makefile target uses "go run" to run a specific
  version of golangci-lint. We _intentionally_ don't consider that tool
  to be a direct dependency of OpenTofu because it has a lot of indirect
  dependencies that would pollute our go.mod file. Therefore that continues
  to use "go run" after this commit.
- Both of our tools.go files previously referred to
  github.com/nishanths/exhaustive , but nothing actually appears to be
  using that tool in the current OpenTofu tree, so it's no longer a
  dependency after this commit.

All of the dependencies we have _only_ for tools are now classified as
"indirect" in the go.mod file. This is the default behavior of the Go
toolchain and appears to be motivated by making it clearer that these
modules do not contribute anything to the runtime behavior of OpenTofu.
This also corrected a historical oddity in our go.mod where for some reason
the "indirect" dependencies had been split across two different "require"
directives; they are now all grouped together in a single directive.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-10 07:06:56 -03:00
Martin Atkins
12f6a2fb8e go.mod: go get github.com/hashicorp/go-version@v1.7.0
This is just a routine upgrade, and doesn't change any functionality that
OpenTofu depends on. It includes a potential performance improvement for
comparisons between versions, and implementation of some
irrelevant-to-OpenTofu interfaces from the database/sql/driver package.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 15:22:43 -07:00
Martin Atkins
02be03956f go.mod: go get github.com/mattn/go-shellwords@v1.0.12
This upgrade includes some behavior changes that will affect OpenTofu's
handling of the TF_ARG_* environment variables, but in a generally positive
way: the parsing of those is now closer to how Unix shells typically
behave.

Although it's unlikely that this would affect anyone, it is technically a
behavior change that could potentially change the handling of some unusual
patterns such as empty arguments represented as pairs of quotes with
nothing between them.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 13:06:27 -07:00
Martin Atkins
d60cddd883 go.mod: go get github.com/xanzy/ssh-agent@v0.3.3
This fixes some bugs that could potentially affect Windows users, though
they all appear to be unlikely problems that we've never had any reports
of from OpenTofu users, so this is mostly just a routine upgrade.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 13:05:59 -07:00
Martin Atkins
32a04dbbb4 go.mod: go get golang.org/x/oauth2@v0.32.0
This is just a routine upgrade. The upstream library contains no relevant
functional changes, just some different implementation details.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 13:05:22 -07:00
Martin Atkins
f8019f081f go.mod: go get github.com/hashicorp/go-retryablehttp@v0.7.8
This release introduces an optional new backoff policy implementation, but
that is entirely new functionality that no OpenTofu caller uses and so
this should not cause any behavior changes.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 13:04:39 -07:00
Martin Atkins
c70ead2e86 go.mod: go get github.com/apparentlymart/go-versions@v1.0.3
This patch release includes an improvement to the error messages for
certain syntax errors involving "v" prefixes, which were previously
returning confusing error messages that misdiagnosed the problem.

There are no other behavior changes.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 13:04:13 -07:00
Martin Atkins
2491c794d8 go.mod: go get golang.org/x/term@v0.36.0
This is a no-changes release that was generated by the Go team's upgrade
bot, which we're adopting here only because some of our other dependencies
require it but I want to upgrade those alone so we're not changing many
things all at once.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 07:31:57 -07:00
Martin Atkins
15cec171f4 go.mod: go get golang.org/x/sync@v0.17.0
This is an utterly pointless upgrade because it only modifies this module's
go.mod to require Go 1.24 instead of Go 1.23, but I'm upgrading it here
anyway because some of our other pending upgrades require this newer
version and I want to keep each of these upgrade PRs as small as possible.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-09 07:31:31 -07:00
Martin Atkins
c57231ed1b go.mod: go get github.com/hashicorp/go-getter@v1.8.2
This includes a fix to a bug introduced in an earlier version of go-getter:
  https://github.com/hashicorp/go-getter/pull/560

We did not actually use an affected version of go-getter in any stable
release yet, and so this change does not require a changelog update for
OpenTofu.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-08 17:42:14 -07:00
Martin Atkins
83c22604b9 go.mod: go get golang.org/x/sys@v0.37.0
This is just a routine upgrade, which doesn't cause any significant changes
to OpenTofu's behavior.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-08 17:41:55 -07:00
Martin Atkins
b88e966a30 go.mod: go get github.com/hashicorp/go-plugin@v1.7.0
This also upgrades two indirect dependencies, but we have those primarily
because of go-plugin and don't rely on them for any other significant
functionality.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-08 17:41:35 -07:00
Martin Atkins
27e6565701 Use the latest protobuf tools and libraries throughout
Previously we were using a mixture of old and new, with our code generation
using the plugin from the old github.com/golang/protobuf library but
our callers using the modern google.golang.org/protobuf . We were also
using pretty ancient version of protoc.

This brings us up to the current latest releases and consistently using
the new Go protobuf library. There have been some notable changes to these
tools in the meantime:

Previously the protoc-gen-go plugin handled grpc by having its own
additional level of Go-specific "plugins" of which the gRPC codegen was
an example.

Now the protobuf generator and the gRPC generator are separate plugins
handled directly by protoc, which means the command line arguments are
a different shape and the gRPC stubs get generated in a separate file
from the main protobuf messages, rather than all being in one .pb.go file
as before.The results are otherwise similar, though.

The grpc codegen now also defaults to requiring that implementations embed
the generated "unimplemented" server, which is an implementation of each
service where the methods just immediately return the "unimplemented"
error. This is not super important for us because we maintain the generated
interfaces and their implementations together in the same repository
anyway, but adding the "unimplemented" server embeds was not a big change
and so seems better to follow the prevailing convention.

Using these new versions means that we could in principle now switch to
using protobuf edition 2024 and the new "sealed" style for Go code
generation, but this commit does not include any such changes and focuses
only on getting things upgraded with as few other changes as possible. We
can discuss using different codegen style later and deal with that in
separate commits.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-08 07:43:40 -07:00
Martin Atkins
b0cd4a3d8e go.mod: Update OpenTelemetry dependencies to v1.38.0
This is just a routine upgrade. Several of our other dependencies also
depend on these modules and so upgrading those others tends to ratchet up
these libraries. Therefore I'm upgrading them separately here really just
to allow subsequent upgrades of other dependencies without changing too
many dependencies at once in a single commit.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-07 11:36:57 -07:00
Martin Atkins
258f5ca795 go.mod: go get github.com/bmatcuk/doublestar/v4@v4.9.1
This is a routine dependency upgrade, but includes some behavior changes
that fix some upstream bugs:

- https://github.com/bmatcuk/doublestar/issues/96
- https://github.com/bmatcuk/doublestar/issues/88

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-06 16:27:26 -07:00
Martin Atkins
5faefe1f3d go.mod: go get github.com/hashicorp/jsonapi@v1.5.0
This is just a routine dependency upgrade.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-06 16:27:11 -07:00
Martin Atkins
56bc13d951 go.mod: go get github.com/xlab/treeprint@v1.2.0
This is just a routine dependency upgrade.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-06 16:26:49 -07:00
Martin Atkins
8e7dfdf478 dependencies: Stop using github.com/apparentlymart/go-dump
This upstream library (which I wrote, independently of my work on OpenTofu)
came about because "go-spew" tended to produce unreadable representations
of certain types commonly used in OpenTofu, whereas "go-dump" is really
just a pretty-printer for whatever a type might produce when formatted
using the %#v verb in package fmt.

Over time the uses of this seem to have decreased only to some leftover
situations where we wanted to pretty-print a cty.Value in a test, but
we already depend on go-cty-debug that has a more specialized
implementation of that behavior and so switching the few remaining callers
over to that allows us to remove one dependency.

(And, FWIW, that upstream dependency is effectively unmaintained; I don't
know of any callers of it other than OpenTofu itself, and after merging
this even OpenTofu won't depend on it anymore.)

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-10-06 12:47:32 -07: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
8b459587ca go.mod: go get github.com/hashicorp/go-getter@v1.8.0
This is the first version of go-getter that uses AWS SDK for Go v2, instead
of the now-obsolete SDK v1. This means that we no longer have an indirect
dependency on the obsolete SDK version, and so should generate less noise
for security scanners that are configured to check for unmaintained
dependencies.

This does unfortunately also force upgrading some of the AWS SDK v2
dependencies, which potentially affects the "s3" backend too. This is the
typical risk of having all of these external integrations linked
directly into our executables, but most of these are just minor upgrades
that we likely would've adopted in the near future anyway.

The newer version of go-getter also uses newer versions of some of its
other dependencies, but we were already on newer versions of most of them
anyway and so the main effect here is just to drop the older versions from
our go.sum file now that they are no longer included in the module version
selection process.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-16 09:08:30 -07:00
Martin Atkins
a66892a9da go.mod: go get github.com/zclconf/go-cty@v1.17.0
This release includes various performance improvents to the marks-related
functionality, which is beneficial to OpenTofu because we've been making
increasingly more use of marks for new use-cases lately.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2025-09-09 10:07:29 -07:00