Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 7, 2025

This PR contains the following updates:

Package Update Change
opentofu/opentofu minor 1.9.1 -> 1.10.7

Release Notes

opentofu/opentofu (opentofu/opentofu)

v1.10.7

Compare Source

SECURITY ADVISORIES:

This release contains fixes for some security advisories related to previous releases in this series.

  • tofu init in OpenTofu v1.10.6 and earlier could potentially use unbounded memory if there is a direct or indirect dependency on a maliciously-crafted module package distributed as a "tar" archive.

    This would require the attacker to coerce a root module author to depend (directly or indirectly) on a module package they control, using the HTTP, Amazon S3, or Google Cloud Storage source types to refer to a tar archive.

    This release incorporates the upstream fixes for CVE-2025-58183.

  • When making requests to HTTPS servers, OpenTofu v1.10.6 and earlier could potentially use unbounded memory or crash with a "panic" error if TLS verification involves an excessively-long certificate chain or a chain including DSA public keys.

    This affected all outgoing HTTPS requests made by OpenTofu itself, including requests to HTTPS-based state storage backends, module registries, and provider registries. For example, an attacker could coerce a root module author to depend (directly or indirectly) on a module they control which then refers to a module or provider from an attacker-controlled registry. That mode of attack would cause failures in tofu init, at module or provider installation time.

    Provider plugins contain their own HTTPS client code, which may have similar problems. OpenTofu v1.10.7 cannot address similar problems within provider plugins, and so we recommend checking for similar advisories and fixes in the provider plugins you use.

    This release incorporates upstream fixes for CVE-2025-58185, CVE-2025-58187, and CVE-2025-58188.

BUG FIXES:

  • Fix crash in tofu test when using deprecated outputs (#​3249)
  • Fix missing provider functions when parentheses are used (#​3402)
  • for_each inside dynamic blocks can now call provider-defined functions. (#​3429)

Full Changelog: opentofu/opentofu@v1.10.6...v1.10.7

v1.10.6

Compare Source

1.10.6

UPGRADE NOTES:

  • Upgrade go from 1.24.4 to 1.24.6 to fix GO-2025-3849 (3127)
  • Upgrade github.com/openbao/openbao/api/v2 from 2.1.0 to 2.3.0 to fix GO-2025-3783 (3134)
    • The upgrade is necessary to silence the security scanner and does not affect the actual state encryption provided by OpenBao.

BUG FIXES:

  • Variables with validation no longer interfere with the destroy process (#​3131)
  • Fixed crash when processing multiple deprecated marks on a complex object (#​3105)
  • When OpenTelemetry encounters errors, log it at the warning level instead of panic (#​3235)

Full Changelog: opentofu/opentofu@v1.10.5...v1.10.6

v1.10.5

Compare Source

BUG FIXES:

  • Fixed issue where usage of TF_PLUGIN_CACHE_DIR could result in unexpected lock contention errors (#​3090)
    • NOTE: It is still highly recommended to have valid .terraform.lock.hcl files in projects using TF_PLUGIN_CACHE_DIR

Full Changelog: opentofu/opentofu@v1.10.4...v1.10.5

v1.10.4

Compare Source

BUG FIXES:

  • Fixed crash where sensitive set values used in for_each could cause a panic. (#​3070)
  • Fixed incorrect approach to mocking provider "ReadResource" calls in test. (#​3068)
  • Reduced calls to ListKeys in azure backend (for rate limiting). (#​3083)

Full Changelog: opentofu/opentofu@v1.10.3...v1.10.4

v1.10.3

Compare Source

1.10.3

BUG FIXES:

  • OpenTofu will no longer crash in a rare case where a dynamically-invalid expression has its error suppressed by try or can and then that expression becomes relevant for deciding whether to report a "change outside of OpenTofu" in the human-oriented plan diff. (#​2988)
  • Ensure provider downloads into temp are cleaned up correctly on windows. (#​2843)
  • Correctly handle structural typed attributes during test provider mocking. (#​2994)
  • Fix erroneous detection of changes with sensitive resource attributes. (#​3024)

Full Changelog: opentofu/opentofu@v1.10.2...v1.10.3

v1.10.2

Compare Source

1.10.2
  • S3 backend now correctly sends the x-amz-server-side-encryption header for the lockfile. (#​2870)
  • A provider source address explicitly using the hostname registry.terraform.io will no longer cause errors related to a corresponding provider on registry.opentofu.org when executing workflow commands like plan and apply. (#​2979)

Full Changelog: opentofu/opentofu@v1.10.1...v1.10.2

v1.10.1

Compare Source

BUG FIXES:

  • Fix TF_APPEND_USER_AGENT handling in the S3 remote state backend. (#​2955)

OTHER CHANGES:

  • OpenTofu is now built with Go 1.24.4, which should clear some false-positive indirect security advisories.

v1.10.0

Compare Source

OpenTofu 1.10.0

We're thrilled to announce the release of OpenTofu 1.10.0, our most comprehensive update yet! This release represents months of dedicated work from our community, introducing some fantastic features that will improve how OpenTofu users manage and distribute infrastructure as code.

Highlights

This release cycle introduces major new capabilities and integrations:

OCI Registry Support

Full integration with OCI registries for both provider and module distribution, valuable for organizations with private infrastructure-as-code components, air-gapped environments, or enhanced security requirements.

# Use OCI modules directly in your configuration (normal .tf files)
module "vpc" {
  source = "oci://example.com/modules/vpc/aws"
}
# Configure OCI registry mirrors in your CLI configuration (e.g. .tofurc)
provider_installation {
  oci_mirror {
    repository_template = "example.com/opentofu-providers/${namespace}/${type}"
    include             = ["registry.opentofu.org/*/*"]
  }
}

For more information, refer to Module Packages in OCI Registries and Provider Mirrors in OCI Registries.

Native S3 Locking

Simplify your infrastructure by using S3's conditional writes capability for state locking, eliminating the need for a separate DynamoDB table.

terraform {
  backend "s3" {
    bucket       = "tofu-state-backend"
    key          = "statefile"
    region       = "us-east-1"
    use_lockfile = true  # Enable native S3 locking
  }
}
OpenTelemetry Tracing

Gain insights into OpenTofu operations with experimental OpenTelemetry tracing, completely local and under your control.

# Launch a tracing backend like Jaeger
docker run -d --name jaeger \
  -p 16686:16686 -p 4317:4317 \
  jaegertracing/jaeger:2.5.0

# Configure OpenTofu to use OpenTelemetry
export OTEL_TRACES_EXPORTER=otlp
export OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4317
export OTEL_EXPORTER_OTLP_INSECURE=true

# Run your operations and view traces at http://localhost:16686
tofu init
Resource Management with Target Files

Manage complex deployments more easily with the new -target-file and -exclude-file options, allowing version-controlled resource targeting patterns.

# Create a targets.txt file
# Critical infrastructure components
module.networking.aws_vpc.main
module.networking.aws_subnet.public[*]
# Apply only those resources
tofu apply -target-file=targets.txt

# Similarly, create an excludes.txt file to skip certain resources
tofu plan -exclude-file=excludes.txt
Compatibility Notes
  • Linux: Requires kernel version 3.2 or later
  • macOS: Requires macOS 11 Big Sur or later
  • The ghcr.io/opentofu/opentofu image is no longer supported as a base image
  • Windows: Symbolic links and junctions are now handled differently
  • The PostgreSQL backend in OpenTofu 1.10 should not be used alongside older versions
Reference

v1.9.4

Compare Source

1.9.4

BUG FIXES:

  • Variables with validation no longer interfere with the destroy process (#​3131)

Full Changelog: opentofu/opentofu@v1.9.3...v1.9.4

v1.9.3

Compare Source

BUG FIXES:

  • Fixed incorrect approach to mocking provider "ReadResource" calls in test. (#​3068)
  • Reduced calls to ListKeys in azure backend (for rate limiting). (#​3083)

Full Changelog: opentofu/opentofu@v1.9.2...v1.9.3

v1.9.2

Compare Source

1.9.2

BUG FIXES:

  • OpenTofu will no longer crash in a rare case where a dynamically-invalid expression has its error suppressed by try or can and then that expression becomes relevant for deciding whether to report a "change outside of OpenTofu" in the human-oriented plan diff. (#​2988)
  • Ensure provider downloads into temp are cleaned up correctly on windows. (#​2843)
  • Correctly handle structural typed attributes during test provider mocking. (#​2994)
  • Fix erroneous detection of changes with sensitive resource attributes. (#​3024)

Full Changelog: opentofu/opentofu@v1.9.1...v1.9.2


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies label Aug 7, 2025
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch 3 times, most recently from bc01750 to c49e729 Compare August 26, 2025 07:27
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch 2 times, most recently from ce336ad to 1f3fbd0 Compare September 3, 2025 20:47
@renovate renovate bot changed the title chore(deps): update dependency opentofu/opentofu to v1.10.5 chore(deps): update dependency opentofu/opentofu to v1.10.6 Sep 3, 2025
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch 4 times, most recently from 3c80583 to efbf589 Compare September 18, 2025 09:59
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch from efbf589 to b6c510a Compare September 26, 2025 09:43
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch 2 times, most recently from 885d95a to 2d5ca60 Compare October 17, 2025 09:07
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch from 2d5ca60 to 9b19076 Compare November 6, 2025 20:46
@renovate renovate bot changed the title chore(deps): update dependency opentofu/opentofu to v1.10.6 chore(deps): update dependency opentofu/opentofu to v1.10.7 Nov 6, 2025
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch 8 times, most recently from 7f836b4 to 62b7a47 Compare November 17, 2025 14:36
@renovate renovate bot force-pushed the renovate/opentofu-opentofu-1.x branch from 62b7a47 to bf4f760 Compare November 17, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant