Skip to content

Instantly share code, notes, and snippets.

@frobware
Created August 28, 2017 18:50
Show Gist options
  • Save frobware/fa5962bbbe9927535c4efe66ea7ee1eb to your computer and use it in GitHub Desktop.
Save frobware/fa5962bbbe9927535c4efe66ea7ee1eb to your computer and use it in GitHub Desktop.
resource "libvirt_domain" "domain-xenial-raw" {
name = "zncbouncer"
count = 1
memory = "512"
name = "zncbouncer-${count.index}"
vcpu = 1
disk {
volume_id = "${libvirt_volume.vol-xenial-raw.id}"
}
graphics {
type = "spice"
listen_type = "address"
autoport = true
}
# cloudinit = "zncbouncer-cloudinit-${count.index}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment