Terraform Example to Deploy Nutanix VPC constructs

  • Enable Flow Virtual Networking in Prism Central (PC)
  • Create new subnet for External Connectivity for VPCs with NAT Screen Shot 2022-10-21 at 23 01 32
  • Add Nutanix provider in Terraform
  • Using terraform.tfvars to specify Nutanix Prism Central connection parameters and VLAN name :
    • Prism Central endpoint/IP address
    • Prism Central username
    • Prism Central password
    • EXTERNAL VLAN Name
  • terraform init
  • terraform plan
  • terraform apply -auto-approve
  • terraform destroy # optional, when finished