Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 597 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 597 Bytes

terraform-vSphere

This repository is used to create VM's in vSphere from template

create terraform.tfvars using terraform.tfvars_example

Initialize terraform

  terraform init <path>/terraform/vsphere

Create VM from template using terraform apply

    terraform apply '-var-file=terraform.tfvars' -auto-approve <path>/terraform/vsphere

Delete the VM using terraform destroy

    terraform destroy '-var-file=terraform.tfvars' -auto-approve <path>/terraform/vsphere