provider "proxmox" { pm_tls_insecure = true pm_api_url = "https://proxmox.org/api2/json" pm_password = "supersecret" pm_user = "terraform-user@pve" pm_otp = "" } resource "proxmox_lxc" "lxc-test" { features { nesting = true } hostname = "terraform-new-container" network { id = 0 name = "eth0" bridge = "vmbr0" ip = "dhcp" ip6 = "dhcp" } ostemplate = "shared:vztmpl/centos-7-default_20171212_amd64.tar.xz" password = "rootroot" pool = "terraform" storage = "local-lvm" target_node = "node-01" unprivileged = true }