Deploy VMs, vswitches, and portgroups using terraform-provider-esxi
.
- Base VM image
- VMware ESXi server
- Terraform
- ovftool
terraform init
terraform validate
terraform plan
terraform apply
TODO: Integrated variables HCL file
-
hosts.tf
- VMs
- Networks (vswitches and portgroups)
- NICs and assigned IP addrress
-
providers.tf
- ESXi hostname, username and password
-
vm.tf
- base VM name for clone
See Blog post on Qiita (In Japanese)
Apache-2.0