Call for testing: The Juju Terraform provider 0.18.0-rc1

The Juju team is happy to announce that the Juju Terraform provider 0.18.0-rc1 candidate is released on 19 March 2025!

For specific dates for testing and release for the v.0.18.0, please refer to the 0.18.0 Release Planning post.

Note that because this is a release candidate, it’s not 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/0.18.0-rc1
 $ make install

This will install the the provider in ~/.terraform.d/plugins/registry.terraform.io/juju/juju/0.18.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.18.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.5.0 or higher.
  • This release uses juju client api code from the juju 3.6.3 release.

ENHANCEMENTS:

  • Support for adding annotations to the juju_model resource 689 by @SimoneDutto
  • Support for JAAS roles 648 by @SimoneDutto
  • Creating juju_machine resource blocks until machine reaches running state, which means terraform apply might now take longer to complete, but will enable correct and repeatable deploys in the future 679 by @alesstimec

DOCUMENTATION:

  • Added how-tos for all resources and general documentation updates 658 by @tmihoc
  • Updated role management howto 687 by @tmihoc
1 Like