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.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
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:
- Allow applications to specify charm resources as oci-image urls, in addition to revisions.
BUG FIXES:
- fix: bugs 535 and 539 only find storage for application being read by @hmlanigan in #557
- fix (application): do no panic on nil pointer by @hmlanigan in #563
- fix(constraints): ensure constraints are non-null by @jack-w-shaw in #556
- fix(storagedirective): fix storage directive validator by @anvial in #538
- fix(application): update resource example to use correct charm storage by @anvial in #533
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 application resources to use storage is added. You can now use
storage
andstorage_directives
fields in an application resource to utilize storage in your application. - Bug reports are enhanced to require more information, including the Juju controller version.
- Conventional commits are now required in contributions to the repository.
- Provider test runs are improved to run faster. A foundation for running tests in parallel has been laid out. More work is needed on GitHub runners to enable parallel testing.
BUG FIXES:
- Panic in handling storage conversion errors is fixed, by @anvial in juju#525
- Placement and constraints directives are allowed to co-exist in machine resources. Added by @hmlanigan in juju#499
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-beta1 candidate release.
- The added JAAS login enhancements requires Juju controller version 3.5.0 or higher.
- The added Juju secrets support requires Juju controller version 3.4.0 or higher.
ENHANCEMENTS:
- Support for user secret management is added. You can now use
juju_secret
andjuju_access_secret
resources to create and manage secrets, as well as grant/revoke access to the applications in your plan. You can also usejuju_secret
data source in your configuration to access a secret. - Provider config is enhanced with support for Client ID and secret to enable logging in to JAAS using client credentials.
BUG FIXES:
- Channel for charms in an application resource requires both track and risk (e.g.,
latest
vslatest/stable
). A validation for channel in application resource is added by @Aflynn50 in juju#447
NOTES:
- This release requires juju controller version 2.9.47 or later juju.
- This release uses juju client api code from the juju 3.3.0 release.
ENHANCEMENTS:
- Add resource revisions for juju_application. This is similar to
juju deploy <charm> --resource <name>:#
andjuju attach-resource <application> <name>:#
. - Add kvm and/or lxd machines via the juju_machine resource. This is similar to
juju add-machine lxd
andjuju add-machine kvm:0
commands. - Use the DeployFromRevision API endpoint from juju for application deployments with juju 3.3+.
- Add space support for the juju_application resources. You can now specify endpoint bindings for
applications. This is similar to
juju deploy --bind
andjuju bind
commands.
BUG FIXES:
- Fix upgrade charm revision for application resources by @hmlanigan in juju#414
- Fixes Config/Revision update ordering. by @anvial in juju#407
- Adds error check to ReadModel function by @anvial in juju#416
- Add info about
plangenerator
to README. by @anvial in juju#429 - Update retry to improve machine placement on read and introduce internal/juju unit tests with mocking by @hmlanigan in juju#433
BUG FIXES:
- Do not require permissions on the controller model to deploy an application by @hmlanigan in juju#353
- Handle resolved charm origins without base by @hmlanigan in juju#375
- Find operating system for deploy regardless of juju controller version by @hmlanigan in juju#358
- Populating Juju controller config no longer immediately fails if Juju cli does not exist by @Osama-Kassem
NOTES:
- Use of Series for machine and application resources is now deprecated. Use Base instead.
- Principal in the
juju_application
resource schema has been deprecated. It was computed only data, is not needed, and has no replacement.
FEATURES:
- Add base support for machines and applications:
juju_application
andjuju_machine
now support bases. A base is an alternative way to specify which operating system and version a charm or machine should be deployed with. For example[email protected]
. - Use of the 2.9.45 code base for juju API calls.
- Stable integration tests have been replaced with testing of upgrading from the last release to the current code.
- There is now a github action to use a loadbalancer as a tunnel to juju controller on k8s.
BUG FIXES:
-
Gracefully fail to deploy a bundle @hmlanigan in juju#318
-
Fix remove (cmr) integration with multiple consumers by @hemanthnakkina in juju#308
-
Update charm resources if necessary when updating a charm by @cderici in juju#326
-
Application resource plans hitting RequiresReplace can fail with "application already exists AND
Application resource plans can fail with "Charm Already Exists", if another application has loaded that charm to the controller before
by @hmlanigan in juju#329
BUG FIXES:
- Credential name doesn't work since 0.9.0 by @hmlanigan in juju#312
ENHANCEMENTS:
- Migration from the Terraform SDK to the Terraform Framework for plugins
BUG FIXES:
- Provider panics when generating plan by @hmlanigan as part of juju#265
FEATURES:
- Add provisioned machines:
juju_machine
now supports machines already provisioned. This is similar to usingjuju add-machine ssh:user@host
. This new feature enables other machines already provisioned using Terraform to be added to a Juju controller.
ENHANCEMENTS:
- The CI has been enhanced by enabling a K8s based Juju controller for GitHub actions.
- Integration tests now can use environment variables to identify if the testing environment has everything required to run the test. For example, a K8s controller vs an LXD controller.
BUG FIXES:
- Process region value in cloud models and force it to be computed by @juanmanuel-tirado in juju#214
- [JUJU-3905] Upgrade charms using channel by @juanmanuel-tirado in juju#224
- Fix message for model not found (#222) by @amandahla in juju#227
- Support models removed outside the plan. by @juanmanuel-tirado in juju#229
Notes:
- This is a periodic release with some bug fixes.
FEATURES:
- New data source:
juju_offer
enable users to incorporate already existing offers. (Thanks @gboutry)
BUG FIXES:
- Wait for apps before integrate by @juanmanuel-tirado in juju#189
- Remove integration from state if it was removed manually (#186) by @amandahla in juju#192
- Add OwnerName to ApplicationOfferFilter by @hemanthnakkina in juju#201
- Remove Application,Machine,Model and Offer from state if it was removed manually by @amandahla in juju#205
- [JUJU-3654] Added ApplicationNotFound error for better error control. by @juanmanuel-tirado in juju#206
- [JUJU-3315] Force "stable" channel to be "latest/stable" when reading apps. by @juanmanuel-tirado in juju#204
NOTES:
- The Juju API is upgraded to 2.9.42
FEATURES:
- New resource:
juju_machine
enable users to provision machines using juju. (Thanks @jadonn) - New data source:
juju_machine
enable users to incorporate already provisioned machines to their plans. (Thanks @gboutry)
ENHANCEMENTS:
- Applications now have a
placement
directive to indicate target machines.
BUG FIXES:
- Fixed parsing problem with ED25519 ssh keys. (Thanks @jsimpso)
- Fixed wrong application import due to inconsistent order of elements in application placement
NOTES:
- The Juju API is upgraded to 2.9.38.
- At this moment the manipulation of users may lead to problematic situations as Juju only disables users instead of removing them. A new release will be done when LP2007258 is addressed. Meanwhile, proceed with caution.
- Once an SSH key has been added to a model, Juju does not allow all the SSH keys to be removed. In order to bypass this limitation, the provider does not remove an SSH key if it is the last one and displays a warning message informing about it.
FEATURES:
- New resource:
juju_user
- New resource:
juju_credential
- New resource:
juju_ssh_key
- Cross-model relations can be set using the
via
argument.
NOTES:
NOTES:
- The provider now receives the values for the
CharmConfig
while reading an already deployed application's status.
FEATURES:
- Application expose is now available.
NOTES:
- Now the provider considers the current status of
expose
andconfig
for any application. This means, that when a plan is applied, this is compared with the current status returned by Juju and applied when required. For example, an exposed application can be manually unexposed using the Juju CLI. When applying the plan again, the provider will detect a mismatch and expose the application again. - Following the previous note, the application configuration returned by Juju can contain more elements than those the plan is aware of. For this reason, the provider will only consider those parameteres already specified in the plan. This means that if any configuration parameter is manually set using the Juju CLI and this parameter is not set in the plan, no changes will be applied by the provider.
NOTES:
- provider: The provider has a dependency on Juju CLI configuration store. It expects configuration to be found in either
$XDG_DATA_HOME/juju
or~/.local/share/juju
.
BUG FIXES
- resource/juju_application: Avoid inconsistency with a Charm's self-reported name
- resource/juju_application: Fix error encountered when changing units whilst operating on a CAAS model
NOTES:
- provider: The provider has a dependency on Juju CLI configuration store. It expects configuration to be found in either
$XDG_DATA_HOME/juju
or~/.local/share/juju
.
FEATURES:
- New Resource
juju_integration
BUG FIXES
- resource/juju_application: If a malformed id is supplied during import then return an error message instead of panicking.
NOTES:
- provider: The provider has a dependency on Juju CLI configuration store. It expects configuration to be found in either
$XDG_DATA_HOME/juju
or~/.local/share/juju
.
FEATURES:
- New Resource
juju_application
IMPROVEMENTS
- resource/juju_model: Ensure that when entries are removed from
config
that they are unset in the model configuration
NOTES:
- provider: The provider has a dependency on Juju CLI configuration store. It expects configuration to be found in either
$XDG_DATA_HOME/juju
or~/.local/share/juju
.
FEATURES:
- New Data Source:
juju_model
- New Resource:
juju_model