provider "vsphere" {
  vsphere_server = "vsphere02.avl.theorchard"
}

module "vm" {
  source = "../.."

  vm_hostnames = [
    "terraform-vmware-test-amazon-linux",
  ]
  vm_domain = "avl.theorchard"

  vsphere_datacenter_name               = "AVL-Datacenter01"
  vsphere_datastore_name                = "nimble01-vol11"
  vsphere_compute_cluster_name          = "prod-t1-esx-cluster"
  vsphere_network_name                  = "VM Network"
  vm_memory                             = "8192"
  vm_num_cpus                           = "4"
  vm_num_cores_per_socket               = "4"
  vm_template_name                      = "amazon_linux2_template"
  ssh_user                              = "ec2-user"
  chef_bootstrap_script_additional_args = "-s"

  chef_bootstrap_script_path = var.chef_bootstrap_script_path
  ssh_private_key_path       = var.ssh_private_key_path
}
