Skip to content

Instantly share code, notes, and snippets.

@trodemaster
Created January 11, 2016 01:49
Show Gist options
  • Save trodemaster/c646f7e49acee7779623 to your computer and use it in GitHub Desktop.
Save trodemaster/c646f7e49acee7779623 to your computer and use it in GitHub Desktop.
# Configure the VMware vCloud Director Provider
provider "vcd" {
user = "username"
password = "password"
org = "test-org"
url = "https://vcloud.company.com"
vdc = "TEST-OVDC"
}
resource "vcd_vapp" "test-terra" {
name = "terra"
catalog_name = "Image_Lab"
template_name = "testbox"
memory = 2048
cpus = 1
network_name = "vlan-168"
metadata {
role = "web"
env = "staging"
version = "v1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment