Call for testing: The Juju Terraform provider v0.22.0-rc1

The Juju team is happy to announce that the Juju Terraform provider v0.22.0-rc1 candidate is released on 18 August 2025!

For specific dates for testing and release for the v0.22.0, please refer to the 0.22.0 Release Planning post.

This is a release candidate, it’s not yet pushed onto the HashiCorp repository, so testing with the release candidate requires you to pull it and change the TF plan to use the local provider.

 $ git checkout tags/v0.22.0-rc1
 $ make install

This will install the the provider in ~/.terraform.d/plugins/registry.terraform.io/juju/juju/0.21.0/linux_amd64.

Update your configurations to use the local candidate:

terraform {
  required_providers {
    juju = {
      source  = "registry.terraform.io/juju/juju" # (uses local provider repository)
      # source = "juju/juju" (uses the Hashicorp repository)
      version = "0.21.0"
    }
  }
}

LINKS:

NOTES:

  • This release requires Juju controller version 2.9.49 or higher Juju.
  • If using JAAS, this release requires Juju controller version 3.6.5 or higher.
  • This release uses Juju client api code from the Juju 3.6.4 release.

ENHANCEMENTS

  • An improvement of sematic comparison for constraints by @kian99 in 829.

BUG FIXES

  • A fix for SSH key resource ID handling by @kian99 in 824.
  • A fix for removal of multiple integrations with the same endpoint by @SimoneDutto in 814.

DOCUMENTATION

  • Addition of related links by @tmihoc in 825.
  • Clarification of cloud and controller authorization and improvement to documentation navigation by @tmihoc in 831.
  • Update to the documentation starter pack by @tmihoc in 836.