This commit is contained in:
cpu
2024-01-27 17:18:18 +01:00
parent 3736e05a82
commit c9d6341a55
6 changed files with 313 additions and 0 deletions

24
provider.tf Normal file
View File

@@ -0,0 +1,24 @@
terraform {
required_providers {
lxd = {
source = "terraform-lxd/lxd"
version = "1.10.4"
}
}
}
provider "lxd" {
generate_client_certificates = true
accept_remote_certificate = true
lxd_remote {
name = "my-lxd-host"
scheme = "https"
address = var.lxd_host
port = var.lxd_port
password = var.lxd_password
default = true
}
}