Releases: juju/terraform-provider-juju
v0.7.0
This is a regular release with some bug fixes and a new data source for offers. Check the release notes for more details.
What's Changed
- chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.25.0 to 2.26.0 by @dependabot in #180
- chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.26.0 to 2.26.1 by @dependabot in #181
- Add offer data source by @gboutry in #191
- [JUJU-3442] Wait for apps before integrate by @juanmanuel-tirado in #189
- Remove integration from state if it was removed manually (#186) by @amandahla in #192
- chore(deps): bump github.com/bflad/tfproviderlint from 0.28.1 to 0.29.0 by @dependabot in #196
- chore(deps): bump github.com/rs/zerolog from 1.29.0 to 1.29.1 by @dependabot in #195
- Add OwnerName to ApplicationOfferFilter by @hemanthnakkina in #201
- chore(deps): bump crazy-max/ghaction-import-gpg from 5.2.0 to 5.3.0 by @dependabot in #203
- Remove Application,Machine,Model and Offer from state if it was removed manually by @amandahla in #205
- [JUJU-3654] Added ApplicationNotFound error for better error control. by @juanmanuel-tirado in #206
- [JUJU-3315] Force "stable" channel to be "latest/stable" when reading apps. by @juanmanuel-tirado in #204
- [JUJU-3705] Add release notes for 0.7.0. by @juanmanuel-tirado in #207
New Contributors
- @hemanthnakkina made their first contribution in #201
Full Changelog: v0.6.0...v0.7.0
v0.6.0
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
What's Changed
- Add support for Placement directives in applications and add a new Machine resource by @jadonn in #152
- chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.13.0 to 0.14.1 by @dependabot in #166
- Update juju client to version 2.9.42 by @juanmanuel-tirado in #167
- Add a Machine Resource (basic support for juju add-machine) by @jadonn in #165
- Update ssh_key import example by @jsimpso in #172
- Update SSH key parsing by @jsimpso in #174
- [JUJU-3280] Sort placement directive to ensure fair comparisons. by @juanmanuel-tirado in #175
- Add machine data source by @gboutry in #170
- chore(deps): bump actions/setup-go from 3 to 4 by @dependabot in #176
- [JUJU-3286] Update changelog for v0.6.0 release. by @juanmanuel-tirado in #178
New Contributors
Full Changelog: v0.5.0...v0.6.0
v0.5.0
This release provides resources around users management and fixes various bugs.
Thanks to all the contributors!!!
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.
What's Changed
- [JUJU-2257] Use operator for microk8s/lxd bootstrap. by @juanmanuel-tirado in #115
- [JUJU-2125] Set model constraints by @juanmanuel-tirado in #118
- Bump goreleaser/goreleaser-action from 3 to 4 by @dependabot in #122
- [JUJU-2356] Additional checks when comparing config values. by @juanmanuel-tirado in #124
- Escape angle brackets in application markdown doc by @jsimpso in #129
- [JUJU-2570] Fix update typing error. by @juanmanuel-tirado in #131
- [JUJU-2575] Downgrade juju to 2.9.37 by @juanmanuel-tirado in #133
- Bump github.com/rs/zerolog from 1.28.0 to 1.29.0 by @dependabot in #134
- [JUJU-2579] Added test for new juju candidates. by @juanmanuel-tirado in #136
- Add capability to set application constraints by @jsimpso in #127
- Add via option to integrations by @kian99 in #120
- Additional testing for via options. by @juanmanuel-tirado in #138
- [JUJU-2651] Upload artifacts when the use case is not tested by @juanmanuel-tirado in #139
- [JUJU-2639] Fix error when setting model constraints. by @juanmanuel-tirado in #140
- Support managing users by @merkata in #148
- [JUJU-2825] Add PR template. by @juanmanuel-tirado in #151
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.1 to 2.25.0 by @dependabot in #153
- Add Import for Offer (#125) by @amandahla in #154
- Support for credential management (#142) by @amandahla in #146
- Support managing model access by @merkata in #150
- [JUJU-2717] manage ssh keys by @juanmanuel-tirado in #149
- [JUJU-2885] Update juju to support 2.9.38 version. by @juanmanuel-tirado in #156
- Update changelog for 0.5.0. by @juanmanuel-tirado in #159
- chore(deps): bump github.com/juju/utils/v3 from 3.0.0 to 3.0.2 by @dependabot in #160
- docs(user): Use namespaced resource by @merkata in #161
- Restore missing manifest. by @juanmanuel-tirado in #162
New Contributors
- @jsimpso made their first contribution in #129
- @kian99 made their first contribution in #120
- @merkata made their first contribution in #148
- @amandahla made their first contribution in #154
Full Changelog: v0.4.3...v0.5.0
v0.4.3
Notes:
What's Changed
- Bump github.com/rs/zerolog from 1.27.0 to 1.28.0 by @dependabot in #90
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.21.0 to 2.22.0 by @dependabot in #91
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.22.0 to 2.23.0 by @dependabot in #92
- [JUJU-1695] Take out -go 1.16 from canary test workflow by @cderici in #93
- Update cloud.google.com/go/compute v1.6.1 => v1.10.0 by @cderici in #94
- [JUJU-1899] Ensure compatibility w/
2.9.33
through3.0-beta
by @cderici in #97 - [JUJU-1966] Replace tiny-bash for ubuntu. by @juanmanuel-tirado in #99
- [JUJU-1969] Fix channel during imports by @juanmanuel-tirado in #98
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.23.0 to 2.24.0 by @dependabot in #100
- [JUJU-1961] Upgrade go version to 1.19 by @juanmanuel-tirado in #101
- Bump crazy-max/ghaction-import-gpg from 5.0.0 to 5.2.0 by @dependabot in #102
- Adds reference to Juju provider in Terraform docs by @sanchezfdezjavier in #106
- Prepare support for Juju 2.9.37 by @juanmanuel-tirado in #104
- [JUJU-1938] Ignore similar config values when reading config. by @juanmanuel-tirado in #108
- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.0 to 2.24.1 by @dependabot in #107
- [JUJU-2177] Added version 0.4.2 release notes. by @juanmanuel-tirado in #112
New Contributors
- @sanchezfdezjavier made their first contribution in #106
Full Changelog: v0.4.1...v0.4.3
v0.4.1
Instructions on using this pre-release can be found on the wiki. This software represents a raw version of a provider and should not be used in production.
NOTES:
- The provider now receives the values for the
CharmConfig
while reading an already deployed application's status.
v0.4.0
Instructions on using this pre-release can be found on the wiki. This software represents a raw version of a provider and should not be used in production.
FEATURES:
- Application expose is now available.
NOTES:
- Now the provider considers the current Juju status of
expose
andconfig
for any application. 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. - The application configuration returned by Juju can contain more elements than the plan may contain. 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.
v0.3.1
Instructions on using this pre-release can be found on the wiki. This software represents a raw version of a provider and should not be used in production.
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
v0.3.0
Instructions on using this pre-release can be found on the wiki. This software represents a raw version of a provider and should not be used in production.
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.
v0.2.0
Instructions on using this pre-release can be found on the wiki. This software represents a raw version of a provider and should not be used in production.
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
v0.1.0
Instructions on using this pre-release can be found on the wiki. This software represents a raw version of a provider and should not be used in production.
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