Skip to content

Instantly share code, notes, and snippets.

@larstobi
Created June 26, 2015 22:02
Show Gist options
  • Save larstobi/8d3053d90eb88bd5ff63 to your computer and use it in GitHub Desktop.
Save larstobi/8d3053d90eb88bd5ff63 to your computer and use it in GitHub Desktop.
provider "cloudstack_instance" {
service_offering = "${var.default_service_offering}"
network = "${var.default_network}"
template = "${var.default_template}"
zone = "${var.default_zone}"
expunge = true
connection {
key_file = "${var.connection_ssh_key_file}"
}
}
resource "cloudstack_instance" "app" {
count = "4"
name = "app${count.index}"
}
resource "cloudstack_instance" "waf" {
count = "2"
name = "waf${count.index}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment