Skip to content

Instantly share code, notes, and snippets.

@Dinomoe
Created October 20, 2016 22:36
Show Gist options
  • Save Dinomoe/73c7d70abb6127e81f773aa47c17a916 to your computer and use it in GitHub Desktop.
Save Dinomoe/73c7d70abb6127e81f773aa47c17a916 to your computer and use it in GitHub Desktop.
vsphere.tf
provider "vsphere" {
vsphere_server = "Removed"
user = "Removed"
password = "Removed"
allow_unverified_ssl = "true"
}
module "vsphere-dc" {
source = "./vsphere"
long_name = "DemovSphere"
short_name = "demo"
datacenter = "Datacenter"
cluster = "MGMT_Cluster"
pool = "MGMT_Cluster/Resources/Demo"
template = "Templates/M_Temp_v2"
network_label = "VM Network 2"
domain = ""
dns_server1 = "X.X.X.X"
dns_server2 = "8.8.8.8"
datastore = "SAS"
control_count = 1
worker_count = 5
edge_count = 1
kubeworker_count = 1
control_volume_size = 0 # size in gigabytes
worker_volume_size = 0
edge_volume_size = 0
ssh_user = "removed"
ssh_key = "/home/gkobar/.ssh/id_rsa"
consul_dc = "dc1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment