This is a basic terraform script which deploying VM, creating vAPP, routed network, DNAT, SNAT FW rules.
This script was written for vDirector which has two VDC, first uses for network resources (vdc_service), second uses for compute, storage resources (vdc_standard).
- Linux based OS or Windows
- vDirector v.10
- Terraform (>=0.14)
- Administrator acces into vDirector
- Clone this repo
- Initialize plugins
terraform init
-
Edit varriables.tf according to your values
-
Edit terraform.tfvars according to your credentials
-
Check all config
terraform plan
If all is ok 6. Deploy VM
terraform apply
When terraform ends working it'll show you local VM's ip and password
GNU GPL v3