Call for testing: The Juju Terraform provider 0.15.0-rc1

The Juju team is happy to announce that the Juju Terraform provider 0.15.0-rc1 candidate is released on 9 Oct 2024!

Thanks to all the contributors including @anvial @kian.

For specific dates for testing and release for the v.0.15.0, please refer to the 0.15.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.15.0-rc1
 $ make install

This will install the the provider in ~/.terraform.d/plugins/registry.terraform.io/juju/juju/0.15.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.15.0"
    }
  }
}

LINKS:

NOTES:

  • This release requires juju controller version 2.9.49 or later juju.
  • This release uses juju client api code from the juju 3.5.1 release.

ENHANCEMENTS:

  • Support for JAAS access settings via the following new resources:
    • juju_jaas_access_cloud
    • juju_jaas_access_controller
    • juju_jaas_access_group
    • juju_jaas_access_model
    • juju_jaas_access_offer
    • juju_jaas_access_service_account
    • juju_jaas_group
  • Support for adding kubernetes clouds to existing controllers with the new juju_kubernetes_cloud resource.

BUG FIXES:

  • feat: add computed uuid to model resource by @hmlanigan in #599
  • fix: remove requirement on ca cert by @kian99 in #567
1 Like

One issue I found while trying this,

β”‚ Error: Invalid version constraint
β”‚ 
β”‚   on main.tf line 7, in terraform:
β”‚    7:       version = "~0.15.0"
β”‚ 
β”‚ This string does not use correct version constraint syntax.

Changing the version string to just β€œ0.15.0” fixes things.