The Juju team is happy to announce that the Juju Terraform provider v0.21.0 was released on 28 July 2025!
Update the provider version:
terraform {
required_providers {
juju = {
source = "juju/juju"
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
- Retry model creation when error is
TransactionAborted
763 by @SimoneDutto - Wait for
hostname
field to be populated when creatingjuju_machine
resource 788 by @SimoneDutto - Add a
no-service-account
flag to thejuju_kubernetes_cloud
resource to avoid service account creation by the provier 793 by @SimoneDutto - Using the custom type for
constraints
in thejuju_application
resource 796 by @alesstimec - Waiting for machine deletion 761 by @alesstimec
BUG FIXES
- Store
juju_machine
ID immediately after creation 799 by @kian99
DOCUMENTATION
- Update
juju_offer
documentation to useendpoints
781 by @SimoneDutto
CI IMPROVEMENTS
- Fix UpgradeProvider tests by removing
PlanOnly = true
782 by @SimoneDutto - Fix JAAS integration test 792 by @SimoneDutto
- Avoid model creation in JAAS tests for
juju_kubernetes_cloud
797 by @SimoneDutto