Skip to content

chore(deps): update terraform juju to v1#486

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/juju-1.x
Closed

chore(deps): update terraform juju to v1#486
renovate[bot] wants to merge 1 commit intomainfrom
renovate/juju-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Dec 18, 2025

This PR contains the following updates:

Package Type Update Change
juju (source) required_provider major ~> 0.20.0 -> ~> 1.1.0

Release Notes

juju/terraform-provider-juju (juju)

v1.1.1

Compare Source

What's Changed

Full Changelog: juju/terraform-provider-juju@v1.1.0...v1.1.1

v1.1.0

Compare Source

What's Changed

Full Changelog: juju/terraform-provider-juju@v1.0.0...v1.1.0

v1.0.0

Compare Source

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.

BREAKING CHANGES:

  • The following resources have had the model field replaced with model_uuid 791. Users will need to update their plans and modules to refer to models by UUID. Further details are available at the linked issue.
    • Application data source
    • Offer data source
    • Secret data source
    • Machine data source
    • Application resource
    • Integration resource
    • Machine resource
    • Offer resource
    • SSH Key resource
    • Model Access resource
    • Secret Access resource
    • Secret resource
  • The model data-source has a new owner field. The data-source requires the owner field
    is set in addition to the name. Alternatively you can lookup a model by UUID.
    Note that the uuid field cannot be set alongside name/owner.
  • Related to the above, all resources that import a model-scoped resource have had their import
    syntax changed to require a model UUID instead of a model name. This includes most of the resources
    in the above list with some exceptions (e.g. offer import requires the offer URL) and additionally
    includes the model resource.
  • The offer data source no longer contains the computed field model.
  • The placement field has been removed from the application resource - use machines instead.
  • The principle field has been removed from the application resource as it was unused.
  • The series field has been removed from the application resource - use base instead.
  • The series field has been removed from the machine resource - use base instead.

UPGRADING PLANS:

We realize any breaking changes are painful, but a move from v0.23.0 to v1.0.0 is one of the few opportunities we have to do them. To make this transition easier we have developed an upgrader advisory tool that will take an existing tf file as input and replace references to model names with model uuids.
This tool is intended as an advisory tool, although we have extensively tested the tool, make sure to carefully review proposed changes before committing to them.

The tool is located here and to use it, one simply runs:

go run github.com/juju/terraform-provider-juju/juju-tf-upgrader path/to/file.tf

As always, please read the README.md first and in case of any issues contact the team in our public Matrix channel.

ENHANCEMENTS

BUG FIXES

DOCUMENTATION

CI & MAINTENANCE

v0.23.3

Compare Source

What's Changed

Full Changelog: juju/terraform-provider-juju@v0.23.2...v0.23.3

v0.23.2

Compare Source

What's Changed

  • fix: ensure resources are refreshed when charm is refreshed by @​kian99 in #​983

Full Changelog: juju/terraform-provider-juju@v0.23.1...v0.23.2

v0.23.1

Compare Source

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.

BUG FIXES

  • Partial revert of new behaviour related to cross-model relations by @​kian99 in #​938 that exposed a Juju bug, see #​20818.
    • Multiple saas apps for the same offer URL surface an issue where relations to the additional saas apps don't work correctly. See the Juju issue for more details on the problem and how to resolve it.

See our docs for more information https://documentation.ubuntu.com/terraform-provider-juju/latest/reference/terraform-provider/resources/integration/#cross-model-relations on the provider's approach to cross-model relations.

v0.23.0

Compare Source

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

  • Added the secret_uri computed field to the secret resource by @​alesstimec in #​850
  • Waiting for model resource to be deleted before returning by @​SimoneDutto in #​743
  • Support null values in model config by @​SimoneDutto in #​851
  • Support null values app config by @​SimoneDutto in #​864
  • Added custom create timeout for the machine resource by @​kian99 in #​868
  • Issue errors instead of warnings by default on failed resource deletion by @​kian99 in #​877 - See the new provider config skip_failed_deletion to revert to the previous behavior - more information is available in the provider documentation.
  • Allow changing charm channel and revision together by @​luci1900 in #​889

BUG FIXES

DOCUMENTATION

CI & MAINTENANCE

v0.22.0

Compare Source

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.

v0.21.1

Compare Source

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.
  • This is a patch release to provide an early fix for 810.

BUG FIXES

  • Avoid revoking and re-granting users' access to offers 816 by @​SimoneDutto
  • Allow offers that were previously consumed with the Juju CLI to work with Terraform 802 by @​kian99

DOCUMENTATION

  • Changes to move the docs to the Ubuntu domain 807 by @​tmihoc
  • Add sitemap config and support for google analytics 812 by @​tmihoc

v0.21.0

Compare Source

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 creating juju_machine resource 788 by @​SimoneDutto
  • Add a no-service-account flag to the juju_kubernetes_cloud resource to avoid service account creation by the provier 793 by @​SimoneDutto
  • Using the custom type for constraints in the juju_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

CI IMPROVEMENTS


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.11%. Comparing base (be00d53) to head (63756e1).
⚠️ Report is 87 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #486   +/-   ##
=======================================
  Coverage   89.11%   89.11%           
=======================================
  Files          28       28           
  Lines        1396     1396           
  Branches        1        1           
=======================================
  Hits         1244     1244           
  Misses        152      152           
Flag Coverage Δ *Carryforward flag
charm 100.00% <ø> (ø)
client 80.24% <ø> (ø) Carriedforward from be00d53
server 96.79% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Components Coverage Δ
Server 96.79% <ø> (ø)
Client 80.24% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pedro-avalos
Copy link
Copy Markdown
Collaborator

Closing, this has some breaking changes that we can't deal with right now:

  • model to model_uuid

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Dec 18, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 1.x releases. But if you manually upgrade to 1.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/juju-1.x branch December 18, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant