- Add storage bucket resource by @MusicDin in terraform-lxd#527
- Allow instance rename by @MusicDin in terraform-lxd#526
- Combine the computed volume keys with the inherited storage pool keys (from Incus) by @MusicDin in terraform-lxd#531
- Do not blindly accept remote certificate when using trust token by @MusicDin in terraform-lxd#529
- provider: Fix incorrect check for configured default remote by @MusicDin in terraform-lxd#534
- docs: Move attach custom volume example to lxd_volume by @MusicDin in terraform-lxd#528
- build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#530
- Refactor provider config and test trust token/password by @MusicDin in terraform-lxd#518
- Add network peer resource by @MusicDin in terraform-lxd#504
- Allow managing default profiles in non-default projects by @MusicDin in terraform-lxd#510
- Add trust token resource by @MusicDin in terraform-lxd#512
- Allow null description in LB backend and port by @MusicDin in terraform-lxd#505
- Don't check fingerprint if 'Content' is unknown by @jsimpso in terraform-lxd#509
- Remove LXD version check during password auth by @MusicDin in terraform-lxd#516
- build(deps): bump the hashicorp group with 3 updates by @dependabot in terraform-lxd#500
- build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#513
- Fix server already trusted check by @MusicDin in terraform-lxd#511
- Test truststore certificate using cert generated within the same TF config by @MusicDin in terraform-lxd#519
- docs: Emphasize the trust password is no longer supported by @MusicDin in terraform-lxd#521
- Ignore network peer status inconsistency in import test by @MusicDin in terraform-lxd#522
- Add support for custom simplestreams remote by @MusicDin in terraform-lxd#463
- Add support for client certificates by @MusicDin in terraform-lxd#471
- Allow remote LXD authentication using token by @MusicDin in terraform-lxd#469
- Support null values in config - from Incus by @MusicDin in terraform-lxd#492
- Add network forward and ACL resources - from Incus by @MusicDin in terraform-lxd#493
- Do not error out if client certificate already exists by @MusicDin in terraform-lxd#468
- Fix update of cached/published images by @MusicDin in terraform-lxd#472
- Fix storage pool source inconsistencies by @MusicDin in terraform-lxd#467
- Fix cached image being searched only in default project by @MusicDin in terraform-lxd#490
- Fix cached image not found if instance remote is set by @MusicDin in terraform-lxd#491
- Update gomod by @simondeziel in terraform-lxd#473
- docs: Refer to instance rather than container by @MusicDin in terraform-lxd#476
- Use trust token instead of password for tests by @MusicDin in terraform-lxd#477
- Update gomod by @simondeziel in terraform-lxd#478
- build(deps): bump goreleaser/goreleaser-action from 5 to 6 by @dependabot in terraform-lxd#479
- Use Alpine images for cached image test by @MusicDin in terraform-lxd#475
- goreleaser: fix config for version 2 schema by @simondeziel in terraform-lxd#480
- update go modules by @simondeziel in terraform-lxd#482
- Pass trust token explicitly if server support it by @MusicDin in terraform-lxd#484
- Let LXD decide the unix socket by @MusicDin in terraform-lxd#485
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.22.0 by @dependabot in terraform-lxd#495
- build(deps): bump google.golang.org/grpc from 1.64.0 to 1.64.1 by @dependabot in terraform-lxd#496
- Use math/rand/v2 for string generation by @MusicDin in terraform-lxd#470
- goreleaser: re-enable arm64 builds for Windows by @simondeziel in terraform-lxd#481
- docs/resources/instance: add multiple ordered
execs
by @simondeziel in terraform-lxd#488 - Fix network zone minor issue - from Incus by @MusicDin in terraform-lxd#494
- Remove project attribute on provider by @MusicDin in terraform-lxd#497
- github: set goreleaser version to v2 by @simondeziel in terraform-lxd#498
- Export instance's network interfaces by @MusicDin in terraform-lxd#460
- Replace image resource_id by reading fingerprint from state by @MusicDin in terraform-lxd#421
- Add instance timeouts by @MusicDin in terraform-lxd#423
- Upload files after VM is started by @MusicDin in terraform-lxd#436
- Expand ConfigDir env vars when config.yml is missing by @MusicDin in terraform-lxd#446
- Read access_interface from expanded config by @MusicDin in terraform-lxd#449
- Fix minimum LXD version in docs by @MusicDin in terraform-lxd#419
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#425
- Generate unique names for test resources by @MusicDin in terraform-lxd#424
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#429
- build(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0 by @dependabot in terraform-lxd#431
- Bump Go to 1.21 by @simondeziel in terraform-lxd#434
- Update go deps by @MusicDin in terraform-lxd#435
- Update gomod by @simondeziel in terraform-lxd#437
- build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in terraform-lxd#438
- build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 by @dependabot in terraform-lxd#440
- build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#439
- build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by @dependabot in terraform-lxd#441
- github: run tests against 5.21/stable and 5.21/edge by @simondeziel in terraform-lxd#442
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#443
- internal/common/lxd_file: use ParseInt() for LXD file mode by @simondeziel in terraform-lxd#444
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#447
- Go 1.22 by @simondeziel in terraform-lxd#450
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by @dependabot in terraform-lxd#451
- github: stop testing with Go 1.21 by @simondeziel in terraform-lxd#455
- build(deps): bump golang.org/x/net from 0.21.0 to 0.23.0 by @dependabot in terraform-lxd#454
- build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#456
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in terraform-lxd#458
- build(deps): bump github.com/hashicorp/terraform-plugin-go from 0.22.2 to 0.23.0 in the hashicorp group by @dependabot in terraform-lxd#459
- build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#462
- build(deps): bump github.com/hashicorp/go-version from 1.6.0 to 1.7.0 in the hashicorp group by @dependabot in terraform-lxd#465
- Bump lxd client and use Alpine image for tests by @MusicDin in terraform-lxd#461
- github: remove DCO check replaced by DCO app by @simondeziel in terraform-lxd#426
- github: resume testing on 5.0/stable now that 5.0.3 is released by @simondeziel in terraform-lxd#430
- Drop deprecated lxd_volume_container_attach resource by @simondeziel in terraform-lxd#348
- Make LXD 4.0 the minimum officially supported version by @simondeziel in terraform-lxd#379
- Drop deprecated provider parameters by @simondeziel in terraform-lxd#378
- Drop deprecated lxd_container and lxd_container_file resources by @simondeziel in terraform-lxd#377
- Replace start_on_create with running attribute by @MusicDin in terraform-lxd#387
- Add missing instance device types by @kapows in terraform-lxd#366
- Support
config.cloud-init.*
keys by @simondeziel in terraform-lxd#383 - Add exec block to the instance resource by @MusicDin in terraform-lxd#386
- fix tests using alpine images by @adamcstephens in terraform-lxd#370
- build(deps): bump hashicorp/setup-terraform from 2 to 3 by @dependabot in terraform-lxd#368
- test: Fix instance reference within test by @MusicDin in terraform-lxd#372
- test: Drop VM test for old lxd_container resource by @MusicDin in terraform-lxd#373
- build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in terraform-lxd#367
- build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0 by @dependabot in terraform-lxd#369
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#371
- Test for required API extensions in network LB and zones tests by @simondeziel in terraform-lxd#375
- tests: don't run pr when converting from draft by @adamcstephens in terraform-lxd#384
- Update from SDKv2 to terraform-framework by @MusicDin in terraform-lxd#385
- build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 by @dependabot in terraform-lxd#388
- Test against
5.0/stable
and5.0/candidate
snap by @simondeziel in terraform-lxd#390 - build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#393
- build(deps): bump actions/setup-go from 4 to 5 by @dependabot in terraform-lxd#392
- Cleanup SDKv2 resources by @MusicDin in terraform-lxd#389
- Update go dependencies by @MusicDin in terraform-lxd#397
- build(deps): bump the hashicorp group with 2 updates by @dependabot in terraform-lxd#400
- build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in terraform-lxd#401
- build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in terraform-lxd#411
- build(deps): bump github.com/cloudflare/circl from 1.3.6 to 1.3.7 by @dependabot in terraform-lxd#412
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#414
- Add migration guide for 2.0 by @MusicDin in terraform-lxd#415
- Better workaround for LVM bug by @simondeziel in terraform-lxd#391
- Use version variable which is overwritten by goreleaser by @MusicDin in terraform-lxd#395
- Remove refresh_interval attribute from provider by @MusicDin in terraform-lxd#394
- README: improve
~/.terraformrc
to allow using other providers easily by @simondeziel in terraform-lxd#402 - Sync from provider incus by @simondeziel in terraform-lxd#404
- Wait exec output to be flushed and use -1 as default exec exit code by @MusicDin in terraform-lxd#407
- github: add DCO check by @simondeziel in terraform-lxd#403
- Switch away from
images:
and useubuntu-daily:
remote instead by @simondeziel in terraform-lxd#406 - Add project import by @MusicDin in terraform-lxd#410
- Remove unused test-infra by @MusicDin in terraform-lxd#416
- Exec trigger and enabled attributes by @MusicDin in terraform-lxd#413
- Fix typo in migration guide by @MusicDin in terraform-lxd#417
- Fix unix socket check on Windows by @MusicDin in terraform-lxd#365
- testing: cleanup and catch more by @adamcstephens in terraform-lxd#364
- Add load balancer resource by @MusicDin in terraform-lxd#360
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#341
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#345
- build(deps): bump the hashicorp group with 1 update by @dependabot in terraform-lxd#350
- build(deps): bump actions/checkout from 3 to 4 by @dependabot in terraform-lxd#352
- build(deps): bump crazy-max/ghaction-import-gpg from 5 to 6 by @dependabot in terraform-lxd#351
- build(deps): bump goreleaser/goreleaser-action from 4 to 5 by @dependabot in terraform-lxd#354
- build(deps): bump golang.org/x/net from 0.13.0 to 0.17.0 by @dependabot in terraform-lxd#357
- build(deps): bump google.golang.org/grpc from 1.57.0 to 1.57.1 by @dependabot in terraform-lxd#359
- Static analysis by @simondeziel in terraform-lxd#343
- docs/snapshot: stateful defaults to false by @simondeziel in terraform-lxd#347
- Add
remote
attribute tolxd_project
and deprecatetarget
by @simondeziel in terraform-lxd#349 - docs: Remove resources section by @MusicDin in terraform-lxd#356
- Determine LXD socket before retrieving a client by @MusicDin in terraform-lxd#355
- Add support for network zones by @mandrav in terraform-lxd#346
- Skip determining unix socket if a remote config address is set by @MusicDin in terraform-lxd#358
- Remove extension check from network zones by @MusicDin in terraform-lxd#361
- @mandrav made their first contribution in terraform-lxd#346
- Add lxd_instance/lxd_instance_file and deprecate lxd_container/lxd_container_file by @MusicDin in terraform-lxd#306
- cached_image: add virtual-machine image alias support by @adamcstephens in terraform-lxd#325
- Search for certificates in snap's config directory by @MusicDin in terraform-lxd#324
- Use unix as default remote scheme instead of https by @MusicDin in terraform-lxd#337
- Fix not found error checks by @MusicDin in terraform-lxd#327
- lxd_volume: fix not found error check by @adamcstephens in terraform-lxd#331
- Update dependencies and lxd client rename by @adamcstephens in terraform-lxd#317
- fix broken links and update docs for lxd_instance by @adamcstephens in terraform-lxd#316
- README: explain how to use the provider built from sources by @simondeziel in terraform-lxd#323
- Update links to clustering docs by @simondeziel in terraform-lxd#329
- Update actions, go modules, and enable dependabot by @adamcstephens in terraform-lxd#314
- update readme and make for testing by @adamcstephens in terraform-lxd#332
- Bump the hashicorp group with 1 update by @dependabot in terraform-lxd#330
- Update Go and Ubuntu CI targets by @simondeziel in terraform-lxd#334
- Add acceptance test prechecks by @MusicDin in terraform-lxd#335
- Add LXD version constraint by @MusicDin in terraform-lxd#338
- Use test precheck to detect if LXD is in clustered mode by @MusicDin in terraform-lxd#339
- @simondeziel made their first contribution in terraform-lxd#323
Full Changelog: https://github.com/terraform-lxd/terraform-provider-lxd/compare/v1.10.1...v1.10.2
IMPROVEMENTS
- Added ceph support to
lxd_storage_pool
GH-308
BUG FIXES
- Fix
lxd_volume
resources being replaced unnecessarily when upgrading from < 1.10.0 GH-312
OTHER
- Updated links for LXD migration from linuxcontainers to canonical GH-303
IMPROVEMENTS
- Added
lxd_volume_copy
resource GH-293 - Added
content_type
tolxd_volume
GH-294 - Provider is now based on Terraform Plugin SDK v2 GH-289
- Provider is now using Terraform Plugin Testing framework GH-292
- Set defaults for provider certificate options to avoid unclear type warnings GH-296
BUG FIXES
- Fixed a bug where externally deleted instances caused a hard failure requiring manual state intervention GH-298
OTHER
IMPROVEMENTS
- Added
lxd_project
resource GH-279 - Added
project
tolxd_cached_image
GH-279 - Added
project
tolxd_container
GH-279 - Added
project
tolxd_container_file
GH-279 - Added
project
tolxd_network
GH-279 - Added
project
tolxd_profile
GH-279 - Added
project
tolxd_publish_image
GH-279 - Added
project
tolxd_snapshot
GH-279 - Added
project
tolxd_storage_pool
GH-279 - Added
project
tolxd_volume
GH-279
IMPROVEMENTS
- Replace
GetContainerState
withGetInstanceState
inlxd_publish_image
to support VM imaging GH-276
BUG FIXES
- Fixed a nil pointer error with
lxd_publish_image
GH-274
BUG FIXES
- Fixed a bug to keep device names in profiles GH-259
OTHER
- Support for Apple M1 GH-255
IMPROVEMENTS
BUG FIXES
- Fixed an issue in
lxd_container
where delete would fail for ephemeral containers GH-230
IMPROVEMENTS
- Don't cause
lxd_container
trigger a rebuild when the config changes GH-227 - Update the containers configuration when it has changed GH-240
IMPROVEMENTS
- Added
type
tolxd_container
to enable the choice of either a container or virtual machine to be created GH-215 - Allow the
type
inlxd_network
to be set GH-220 - Added
target
tolxd_network
to help support clustering mode GH-222 - Added
target
tolxd_storage_pool
to help support clustering mode GH-224 - Added
target
tolxd_volume
to help support clustering mode GH-225 - Added support for importing
lxd_network
resources GH-226
This version bump was primarily to do the initial publication to the Terraform Registry.
IMPROVEMENTS
- Added
target
argument tolxd_container
to help support clustering mode GH-212
IMPROVEMENTS
- Expose
lxd_container
IPv6 address GH-173 - Added append to
lxd_container_file
GH-206 - Allow updating
lxd_network
in-place GH-210 - Added
lxd_publish_image
GH-209 - Allow
linux.*
attributes inlxd_container
GH-194
BUG FIXES
- Fixed retrieved storage pool source in
lxd_storage_pool
GH-181 - Fixed accidental deletion of
lxd_container
device name GH-184
IMPROVEMENTS