Set your LXD environment
reference : https://registry.terraform.io/providers/terraform-lxd/lxd/latest/docs
export LXD_REMOTE="<remote name>" # The name of the remote.
export LXD_ADDR="<server ip>" # The address of the LXD remote.
export LXD_PORT="<port>" # The port of the LXD remote.
export LXD_PASSWORD="<password>" # The password of the LXD remote.
export LXD_SCHEME="<scheme>" # The scheme to use (unix or https).