Repository to provision VM's vanilla ESXI without vSphere/vCenter
The provider that I'm using https://github.com/josenk/terraform-provider-esxi
Since the provider uses SSH connection to create vm's we need to enable "SSH" on ESXI Host.
-
Enable SSH on ESXI host.
-
Clone this repository.
git clone https://github.com/alperencelik/terraform-esxi
-
Edit the variables on variables.tf
vim variables.tf
-
Then we are ready to initialize.
terraform init
-
Plan the infrastructure.
terraform plan
-
If everything seems okay then apply for creating VM's.
terraform apply