output name and id to file
This commit is contained in:
@@ -23,4 +23,11 @@ resource "proxmox_lxc" "basic" {
|
||||
bridge = "vmbr0"
|
||||
ip = "dhcp"
|
||||
}
|
||||
}
|
||||
}
|
||||
resource "local_file" "Ans_inv" {
|
||||
content = <<-DOC
|
||||
hostname: ${proxmox_lxc.basic.hostname}
|
||||
id: ${proxmox_lxc.basic.id}
|
||||
DOC
|
||||
filename = "${path.module}/output.txt"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user