Juju Terraform provider 2.0.0 release notes
May 26, 2026
Requirements and compatibility
- Requires Juju controller version 3 or higher. Support for Juju 2.9 controllers has been dropped.
- If using JAAS, requires Juju controller version 3.6.5 or higher.
- Uses Juju client API code from the tip of the Juju 4.0 branch.
Breaking changes
Juju 2.9 controller support removed
This release drops support for Juju 2.9 controllers. If you still use Juju 2.9, you must either upgrade your controller to Juju 3.6 before migrating to version 2 of the provider, or continue using version 1 releases of the provider. The 1.5 version of the provider will continue to receive security updates and bug fixes.
IMPORTANT: Upgrading from the latest version 1 of the Terraform Provider to version 2 requires no changes to your Terraform plans. See the upgrade to version 2 guide for more information.
New features
Support for Juju 3 and 4 controllers
The Terraform Provider can now be used against both Juju 3 and Juju 4 controllers. This release uses Juju client API code from the tip of the Juju 4.0 branch, enabling users to take advantage of features available in the latest Juju releases.
Juju 4 compatibility changes
- Fix SSH key payload comparison by @ale8k in #1068.
- Fix charm revision to use the correct revision when deploying on amd64 by @SimoneDutto in #1104.
- Fix to only grant offer access when needed by @kian99 in #1101.
- Fix resource application test by @ale8k in #1133.
- Fix qualifier usage by @SimoneDutto in #1143.
- Fix endpoint bindings by not using patterns in the client by @SimoneDutto in #1144.
- Miscellaneous e2e fixes by @SimoneDutto in #1190.
Maintenance
- Add context to client.go by @ale8k in #1100.
- Use Juju 4.x dependency by @SimoneDutto in #1039.
- Enable testing against a Juju 4 controller by @SimoneDutto in #1048.
- Address upgrade provider tests by @kian99 in #1066.
- Use 4/edge for tests by @kian99 in #1059.
- Fix juju-external-hostname implicit config test for Juju 4 by @SimoneDutto in #1116.
- Fix check for testing against Juju 4 by @kian99 in #1129.
- Use 4/edge to get latest updates from Juju by @SimoneDutto in #1146.
- Miscellaneous e2e CI fix by @SimoneDutto in #1167.
- Skip TestAcc_ResourceOffer by @kian99 in #1173.
- Skip charmupdatebase application test by @ale8k in #1176.
- Re-enable JAAS integration tests by @SimoneDutto in #1196.
- Merge main into feature branch by @SimoneDutto in #1044.
- Merge main to feature/juju-4.0 by @kian99 in #1065.
- Merge main by @SimoneDutto in #1110.
- Merge main into feature/juju-4 by @kian99 in #1122.
- Merge main into feature/juju-4.0 by @kian99 in #1151.
- Merge main into feature/juju-4.0 by @kian99 in #1159.
- Merge main into feature/juju-4 by @SimoneDutto in #1203.
- Merge feature/juju-4.0 into main by @SimoneDutto in #1206.
- Update changelog for 2.0.0 rc release by @SimoneDutto in #1208.