What's Changed
Breaking Changes ⚠️
The v2.3.0 release introduces a minor breaking change in the provider’s remote configuration. The scheme
and port
fields, along with the LXD_PORT
and LXD_SCHEME
environment variables, are no longer supported. Instead, the full LXD or Simplestreams server address must be specified in the address
field (or LXD_ADDR
if using environment variables).
Previously, the scheme and port were simply prepended and appended to the address, leading to confusion. For example, if https://localhost:1234
was used as the address, the resulting URL would incorrectly become https://https://localhost:1234:8443
because the scheme and port defaulted to predefined values if left empty. Now, the address provided in the address field is resolved as outlined in the documentation.
If scheme and port fields are present in the configuration, an error will be displayed, instructing you to update the LXD remote configuration accordingly. Since LXD remotes are not stored within the Terraform state, this change only requires combining the scheme and port into the already required address field, with no further impact.
New Features 🎉
- Add network peer resource by @MusicDin in #504
- Allow managing default profiles in non-default projects by @MusicDin in #510
- Add trust token resource by @MusicDin in #512
Bug Fixes 🐝
- Allow null description in LB backend and port by @MusicDin in #505
- Don't check fingerprint if 'Content' is unknown by @jsimpso in #509
- Remove LXD version check during password auth by @MusicDin in #516
Maintenance and Chores 🛠
- build(deps): bump the hashicorp group with 3 updates by @dependabot in #500
- build(deps): bump the hashicorp group with 2 updates by @dependabot in #513
Other Changes ❓
- Fix server already trusted check by @MusicDin in #511
- Test truststore certificate using cert generated within the same TF config by @MusicDin in #519
- docs: Emphasize the trust password is no longer supported by @MusicDin in #521
- Ignore network peer status inconsistency in import test by @MusicDin in #522
- Update changelog for 2.3.0 by @MusicDin in #524
New Contributors
Full Changelog: v2.2.0...v2.3.0