Zum Inhalt springen

OpenTofu Release Notes

Einträge
40
Quellen
1
Zuletzt aktualisiert

Folge OpenTofu, um die Release Notes in deinen Feed zu holen.

OpenTofu

OpenTofu 1.11.12: Korrekte Quelladressen bei moved-Blöcken

OpenTofu 1.11.12 sorgt dafür, dass moved-Blöcke Provider-Quelladressen korrekt vergleichen und dass die richtige Quelladresse in Provider-MoveResource-Anfragen übergeben wird.

BUG FIXES:

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.11...v1.11.12

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu v1.12.3

Die Version behebt mehrere Fehler, darunter die Behandlung von TF_ENCRYPTION mit Leerzeichen, die Verarbeitung von Deprecation-Markierungen bei lifecycle.enabled, den Befehl tofu console -lock=false und ein Sicherheitsproblem, das das Lesen beliebiger Dateien bei bestimmten Git-Operationen ermöglichte.

BUG FIXES:

  • Properly handle TF_ENCRYPTION with only blank spaces. (#4265)
  • The value resulted from the lifecycle.enabled evaluation now has its deprecation marks processed correctly (#4162)
  • Update documentation to clarify the usage restriction of ephemeral values in lifecycle.enabled. (#4220)
  • tofu console -lock=false now works as intended. (#4291)

SECURITY ADVISORIES:

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.12.2...v1.12.3

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.10 mit Sicherheitsfix

OpenTofu 1.11.10 behebt ein Sicherheitsproblem, bei dem bösartig gestaltete URLs beim Lesen beliebiger Dateien während bestimmter Git-Operationen ausgenutzt werden konnten, und aktualisiert die Dokumentation zur Nutzung von ephemeren Werten in lifecycle.enabled.

BUG FIXES:

  • Update documentation to clarify the usage restriction of ephemeral values in lifecycle.enabled. (#4220)

SECURITY ADVISORIES:

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.9...v1.11.10

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.12.2 mit Sicherheits- und Stabilitätsfixes

OpenTofu 1.12.2 behebt mehrere Sicherheitslücken, darunter Panics oder Hänger beim OpenBao-Schlüsselanbieter, nicht maskierte Eingabebytes bei SSH-Verbindungen und hohe CPU-Auslastung durch manipulierte Server, sowie Fehler bei der Provider-Installation und beim tofu login.

1.12.2

SECURITY ADVISORIES:

  • Previous releases in the v1.12 series could be affected by several vulnerabilities:

    • If for state encryption, OpenBao key provider is used with wrapping algorithms, it could generate panics or hangs on compromised systems where the JWE is specifically crafted.

    This is fixed now by (#4177)

  • Previous releases in the v1.12 series could be affected by several vulnerabilities:

    • When using SSH connections through OpenTofu, the errors that were returned from attempting a connection could include unescaped input bytes.
    • If using an attacker-controlled server to run tofu against, it might end up in high CPU consumption.

    These are now fixed by (#4247)

BUG FIXES:

  • Properly handle EDEADLK during provider installation. On Unix systems, the kernel may erroneously detect a deadlock between tofu processes using the global plugin cache. (#4166)
  • Fix race condition while handling closing signals during tofu login, both when the signal is sent by the user and when the browser fails to successfully connect. (4016)
  • Prevent panic when using ephemeral resources during tofu test`. (#4254) …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.9 behebt Sicherheitslücken und Fehler

OpenTofu 1.11.9 behebt Sicherheitslücken bei SSH-Verbindungen, der Überprüfung von SignatureKey-Widerrufen und beim OpenBao-Schlüsselanbieter sowie Fehler bei tofu login und bei ephemeren Ressourcen in Tests.

1.11.9

SECURITY ADVISORIES:

  • Previous releases in the v1.11 series could be affected by several vulnerabilities:

    • ssh usage through OpenTofu generate hangs or panics.
    • Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.

    This is fixed now by (#4145)

  • If for state encryption, OpenBao key provider is used with wrapping algorithms, it could generate panics or hangs on compromised systems where the JWE is specifically crafted. (#4177)

  • Previous releases in the v1.11 series could be affected by several vulnerabilities:

    • When using SSH connections through OpenTofu, the errors that were returned from attempting a connection could include unescaped input bytes.
    • If using an attacker-controlled server to run tofu against, it might end up in high CPU consumption.

    These are now fixed by (#4248)

BUG FIXES:

  • Fix race condition while handling closing signals during tofu login, both when the signal is sent by the user and when the browser fails to successfully connect. (4016)
  • Prevent panic when using ephemeral resources during tofu test`. (#4254) …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.12.1 mit Fehlerkorrekturen

OpenTofu 1.12.1 behebt Sicherheitslücken bei SSH und der Signaturschlüssel-Überprüfung sowie Fehler aus Version 1.12.0, die übermäßigen Speicherverbrauch und falsche Validierung von replace_triggered_by verursachten, und erweitert die Konfigurationsmöglichkeiten des Azure-Schlüsselanbieters.

SECURITY ADVISORIES:

  • Previous releases in the v1.12 series could be affected by several vulnerabilities:

    • ssh usage through OpenTofu generate hangs or panics.
    • Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @revoked.

    This is fixed now by (#4145)

BUG FIXES:

  • Address a bug introduced in v1.12.0 causing excessive memory usage by providers. (#4126)
  • Address a bug introduced in v1.12.0 where replace_triggered_by was validated incorrectly. (#4133
  • The Azure key provider will now accept the tenant_id, subscription_id, environment, and metadata_host variables; a bug previously only allowed these to be set through environment variables. (#4091)

Full Changelog: https://github.com/opentofu/opentofu/blob/v1.12/CHANGELOG.md

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.12.0 mit dynamischem prevent_destroy

OpenTofu 1.12.0 führt dynamisches prevent_destroy ein, das in Abhängigkeit von anderen Werten im Modul definiert werden kann, und verbessert die Provider-Checksummen-Verwaltung.

OpenTofu 1.12.0

We're proud to announce that OpenTofu 1.12.0 is now officially available! 🎉

Highlights

This release cycle introduces major new capabilities and integrations:

Dynamic prevent_destroy

OpenTofu v1.12.0 now allows prevent_destroy to be defined dynamically in terms of other values available elsewhere in the same module. For example:

variable "prevent_destroy_database" {
  type    = bool
  default = true
}

resource "example_database" "example" {
  # ...

  lifecycle {
    prevent_destroy = var.prevent_destroy_database
  }
}

Provider Checksum Improvements

The default provider installation behavior in OpenTofu is designed to mostly "just work" by getting the needed providers installed and making the necessary changes to the dependency lock file, but in previous versions friction appeared for any teams using many of the non-default installation settings such as the shared provider plugin cache, or local mirrors of upstream providers. …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.8 gegen HTTP2-Angriff

OpenTofu 1.11.8 behebt ein Sicherheitsproblem, bei dem ein HTTP2-Server mit maximaler Framegröße null zu übermäßigem Ressourcenverbrauch während tofu init führen konnte.

SECURITY ADVISORIES:

  • Previous releases in the v1.11 series could potentially take an excessive amount of time and send extraneous data to an HTTP2 server that specifies a maximum frame size of zero. This is now fixed. (#4094)

    An attacker that can coerce an operator to install a dependency from an attacker-controlled server could use this to cause unexpected resource consumption during tofu init.

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.7...v1.11.8

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.7 prüft Cache-Konflikte

OpenTofu 1.11.7 gibt nun einen Fehler zurück, wenn beim Installieren von Provider-Paketen in den lokalen Cache ein Konflikt mit nicht übereinstimmender Prüfsumme auftritt, anstatt stillschweigend zu überschreiben.

BUG FIXES:

  • When installing provider packages into a local cache directory, the installer will now return an error if a conflicting entry is already present in the cache that doesn't match the expected checksum. Previously OpenTofu would just silently write over the existing entry in that case. (#4082)

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.6...v1.11.7

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.10.10 behebt Cache- und Import-Fehler

OpenTofu 1.10.10 behebt Konflikte beim Installieren von Provider-Paketen in den Cache und einen Fehler mit providerdefinierten Funktionen in import-Blöcken, der eine „BUG”-Meldung auslöste.

BUG FIXES:

  • When installing provider packages into a local cache directory, the installer will now return an error if a conflicting entry is already present in the cache that doesn't match the expected checksum. Previously OpenTofu would just silently write over the existing entry in that case. (#4082)
  • Fixed provider-defined functions in import block id expressions causing "BUG: Uninitialized function provider" error. (#3803)

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.10.9...v1.10.10

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.12.0-rc1 kündigt Änderungen an

OpenTofu 1.12.0-rc1 kündigt die Abschaffung des WinRM-Verbindungstyps an, entfernt die Umgebungsvariable OPENTOFU_USER_AGENT, beendet die Unterstützung für macOS 12 und berücksichtigt die BROWSER-Umgebungsvariable.

UPGRADE NOTES:

  • The "winrm" connection type for the remote-exec and file provisioners is now deprecated. (#3899)

    The library ecosystem around the WinRM protocol is no longer in a healthy state, with some libraries unmaintained. Therefore we cannot continue to offer this functionality, and will phase it out over the next few release series. In OpenTofu v1.12 this connection type is still supported, but will generate a warning each time it is used. We expect that use of this connection type will begin returning an error in OpenTofu v1.13.

    Modern Windows versions now support OpenSSH, and so we suggest that anyone currently relying on WinRM should begin planning to migrate to using SSH instead.

  • The OPENTOFU_USER_AGENT environment variable, which allowed fully overriding the default User-Agent header on all HTTP requests, has been removed.

  • This is the last OpenTofu release series that will support macOS 12 Monterey. We expect that OpenTofu v1.13 will require macOS 13 Ventura or later.

  • On Unix systems OpenTofu now considers the BROWSER environment variable as a possible override for the default behavior for launching a web browser. …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.12.0-beta1 mit Vorabhinweisen

OpenTofu 1.12.0-beta1 kündigt die Abschaffung von WinRM an, entfernt die OPENTOFU_USER_AGENT-Variable, beendet die Unterstützung für macOS 12 und berücksichtigt die BROWSER-Variable.

UPGRADE NOTES:

  • The "winrm" connection type for the remote-exec and file provisioners is now deprecated. (#3899)

    The library ecosystem around the WinRM protocol is no longer in a healthy state, with some libraries unmaintained. Therefore we cannot continue to offer this functionality, and will phase it out over the next few release series. In OpenTofu v1.12 this connection type is still supported, but will generate a warning each time it is used. We expect that use of this connection type will begin returning an error in OpenTofu v1.13.

    Modern Windows versions now support OpenSSH, and so we suggest that anyone currently relying on WinRM should begin planning to migrate to using SSH instead.

  • The OPENTOFU_USER_AGENT environment variable, which allowed fully overriding the default User-Agent header on all HTTP requests, has been removed.

  • This is the last OpenTofu release series that will support macOS 12 Monterey. We expect that OpenTofu v1.13 will require macOS 13 Ventura or later.

  • On Unix systems OpenTofu now considers the BROWSER environment variable as a possible override for the default behavior for launching a web browser. …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.6 Fehlerbehebungen

OpenTofu 1.11.6 behebt Abstürze bei refresh-only, init, import, test und verbessert die Sicherheit bei TLS und tar-Archiven.

BUG FIXES:

  • Running tofu apply -refresh-only with a configuration that contains ephemeral resources does not fail anymore because the refresh produced changes (#3776)
  • Fixed tofu init crashing when a module version uses a variable and the module is referenced from a test file. (#3686)
  • Fixed provider-defined functions in import block id expressions causing "BUG: Uninitialized function provider" error. (#3803)
  • tofu test no longer fails during cleanup when using a mocked version of a resource type with write-only attributes. (#3964)
  • A malicious remote TLS server can no longer deadlock OpenTofu by sending multiple key update messages in a single record. (#3966)
  • When installing module packages from "tar" archives, OpenTofu now accepts only a limited number of sparse file entries to avoid unbounded memory usage from maliciously-crafted archives containing many sparse regions. (#3966)

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.5...v1.11.6

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.5 Fehlerbehebungen

OpenTofu 1.11.5 fügt die Option universe_domain im gcs-Backend hinzu, respektiert die Client-ID bei MSI-Authentifizierung im azurerm-Backend und unterdrückt unerwünschte Debug-Logs bei Netzwerk-Mirrors.

BUG FIXES:

Full Changelog: https://github.com/opentofu/opentofu/blob/67fe9db49b7dafd46470cf9ac7f437aaa95f5c40/CHANGELOG.md

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.10.9 Sicherheitsupdates

OpenTofu 1.10.9 enthält Sicherheitsfixes für Go-Schwachstellen und behebt ein Problem mit unerwünschten Debug-Logs bei Netzwerk-Mirrors.

SECURITY ADVISORIES:

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

  • No limit on number of query string arguments in net/url's ParseQuery This release incorporates the upstream fixes for GO-2026-4341.

  • crypto/tls handling of multiple messages that span across encryption level boundaries This release incorporates the upstream fixes for GO-2026-4340.

BUG FIXES:

Using a network mirror for the providers source does not print debug logs without being asked for (https://github.com/opentofu/opentofu/issues/3736)

Full Changelog: https://github.com/opentofu/opentofu/blob/0de30e8050bc32dfada2c4c978e736239e0ab265/CHANGELOG.md

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.4 Sicherheit und Änderungen

OpenTofu 1.11.4 behebt eine Sicherheitslücke bei zip-Archiven und führt eine brechende Änderung ein: Lokale Provider-Konfigurationen lehnen nun auch das enabled-Argument ab.

SECURITY ADVISORIES:

  • Previous releases in the v1.11 series could potentially take an excessive amount of time processing a maliciously-crafted .zip archive during either provider or module installation during tofu init. (#3689)

BREAKING CHANGES:

  • Modules containing local provider configurations now also reject the enabled argument, matching existing behavior for count, for_each, and depends_on. (#3680)

    This was an oversight in the original design of the enabled feature and was missed during the review process. Although our goal is to not introduce breaking changes in patch releases, in some cases it may be warranted. Anyone who has used the enabled feature in this particular way will have unintentionally introduced a foot-gun into their infrastructure and should remedy it post-haste.

BUG FIXES:

  • In JSON syntax, the state encryption method configuration now allows specifying keys using both normal expression syntax and using template interpolation syntax. Previously only the template interpolation syntax was allowed, which was inconsistent with other parts of the encryption configuration. (#3654) …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.3 Fehlerbehebungen

OpenTofu 1.11.3 behebt Abstürze bei Import-Blöcken, Probleme beim Cleanup mit mock_provider, einen fehlenden State-Lock mit HTTP-Backend und die OIDC-Token-Aktualisierung im Azure-Backend.

BUG FIXES:

  • Fix crash when the executed configuration contains an import block that points to unexisting configuration block (#3616)
  • Fixed tofu test with mock_provider failing during cleanup when lifecycle { ignore_changes } references a block. (#3644)
  • Fixed state lock not being released when tofu apply is interrupted with Ctrl+C while using the HTTP backend. (#3624)
  • azure backend: resolve OIDC token dynamically to support ADO refresh. (#3594)

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.2...v1.11.3

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.2 Änderungen und Fixes

OpenTofu 1.11.2 hebt die frühere Empfehlung zur -exclude-Option auf und behebt Abstürze bei generate-config-out sowie Probleme mit Helm-, Kubernetes- und AzureRM-Providern.

UPGRADE NOTES:

  • The change from #2643, that was announced previously in v1.11.0, has been reverted in this release. OpenTofu will no longer directly recommend using the -exclude= option to work around problems caused by unknown values in provider configurations.

    Unfortunately there are existing providers that spuriously report that they cannot plan due to unknown values even when planning would have been successful, and so we cannot rely on providers to accurately signal when unknown values are the cause of an error. Using -exclude is still a valid workaround for these problems even though OpenTofu cannot accurately detect when it's useful to make that suggestion.

BUG FIXES:

  • Fix crash in plan -generate-config-out with read-only nested attributes (#3553)
  • It's now possible again to plan changes with the hashicorp/helm and hashicorp/kubernetes providers when the provider configuration contains unknown values, as long as the configuration is carefully written to avoid the plan phase actually depending on those values. (#3592)
  • When running tofu init on Windows with an azurerm backend, the subscription_id is quoted correctly allowing successful authentication. (#3602) …

Originalquelle(öffnet in neuem Tab)Problem melden

OpenTofu

OpenTofu 1.11.1 Fehlerbehebungen

OpenTofu 1.11.1 behebt Regressionen bei der Import-Validierung, der Serialisierung von lifecycle enabled und der Validierung von import.id-Ausdrücken.

BUG FIXES:

  • Fixed regression where import validation would incorrectly flag variables used in for_each statements within import blocks (#3564)
  • Fixed lifecycle enabled serialization in plan file (#3566)
  • Fixed regression when validating import.id expressions (#3567)

Full Changelog: https://github.com/opentofu/opentofu/compare/v1.11.0...v1.11.1

Originalquelle(öffnet in neuem Tab)Problem melden