Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop deprecated lxd_container and lxd_container_file resources #377

Merged
merged 9 commits into from
Nov 15, 2023
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: |
sudo snap refresh lxd --channel=${{ matrix.channel }}
sudo lxd waitready --timeout 60
sudo lxd init --auto --trust-password="$LXD_PASSWORD" --network-port=8443 --network-address='[::]'
sudo lxd init --auto --trust-password="$LXD_PASSWORD" --network-port="$LXD_PORT" --network-address="$LXD_ADDR"
sudo chmod 777 /var/snap/lxd/common/lxd/unix.socket

- name: Configure OVN
Expand Down
206 changes: 0 additions & 206 deletions docs/resources/container.md

This file was deleted.

57 changes: 0 additions & 57 deletions docs/resources/container_file.md

This file was deleted.

60 changes: 0 additions & 60 deletions lxd/import_resource_lxd_container_test.go

This file was deleted.

2 changes: 0 additions & 2 deletions lxd/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ func Provider() *schema.Provider {
ResourcesMap: map[string]*schema.Resource{
"lxd_cached_image": resourceLxdCachedImage(),
"lxd_publish_image": resourceLxdPublishImage(),
"lxd_container": resourceLxdContainer(),
"lxd_container_file": resourceLxdContainerFile(),
"lxd_instance": resourceLxdInstance(),
"lxd_instance_file": resourceLxdInstanceFile(),
"lxd_network": resourceLxdNetwork(),
Expand Down
Loading