Juju Terraform provider 2.4.1 release notes
8 October 2026
Requirements and compatibility
-
This release requires a Juju controller of version 3.6 or higher. Support for Juju 2.9 controllers is not available in the v2 track; 2.9 continues to be supported on the v1 track for security updates and bug fixes.
-
If you are using JAAS, this release requires a Juju controller of version 3.6.5 or higher.
-
This release is compatible with both Juju 3 and Juju 4 controllers.
New features
Allow omitted write-only secret values when the version is unchanged
You no longer need to supply write-only secret values for every plan. If the value_wo_version of an existing juju_secret resource is unchanged, its value_wo map can contain null values-for example, when an ephemeral variable or environment-provided secret is no longer available.
This is useful to avoid keeping your secret value anywhere except in the Juju controller.
Write-only values are still validated when creating the secret or changing value_wo_version. Null elements in the non-write-only value map continue to be rejected.
- Validate null values only when the write-only secret version changes by @SimoneDutto in #1391 (partially addresses #1386).
Bug fixes
-
Switching away from a charm channel branch now works correctly - changing a channel such as
latest/edge/my-branchtolatest/edgenow clears the previous branch instead of retaining it and producing an inconsistent result after apply. Removing an explicit track also correctly clears the previous track. Correctly handle channel with branch by @kian99 in #1392 (addresses #1389). -
Improved error handling and diagnostics - the provider now correctly identifies model-not-found and wrapped errors, reports certificate errors more accurately, and emits warnings when missing resources are removed from Terraform state. Fix model-not-found and wrapped error handling by @kian99 in #1383.
Documentation
- Correct the Ubuntu charm base in the application resource example so that it matches the specified charm revision. Fix the application example base reference by @ale8k in #1387.
â
Full changelog: Comparing v2.4.0âŠv2.4.1 · juju/terraform-provider-juju · GitHub