Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.
Configuration files describe to Terraform the components needed to run a single application or your entire datacenter. Terraform generates an execution plan describing what it will do to reach the desired state, and then executes it to build the described infrastructure. As the configuration changes, Terraform is able to determine what changed and create incremental execution plans which can be applied.
(Source:Terraform Homepage)
The main mission for this Terraform assignment is to migrate one VM from one EPG to another EPG.
- Create a Tenant
- Create a VRF
- Create a Bridge Domain
- Create a Subnet
- Create a VMM Domain
- Create a Filter
- Create a Filter Entry
- Create a Contract
- Create a Contract Subject and form a relationship to the filter
- Create an Application Profile
- Create EPGs (2 EPGs). Relate each EPG to a VMM Domain, BD create earlier and a Contract.
- Create Datacenter
- Create vSphere Network
- Create Datastore
- Create Host
- Create Virtual Machine Template
- Create Virtual Machine
- Creation of all variables being referred throughout main.tf and vcenter.tf
- Link to first Tenant
- Link to first VRF
- Link to first Bridge Domain
- Link to first Subnet
- Create a VMM Domain
- Create a Filter
- Create a Filter Entry
- Create a Contract
- Create a Contract Subject and form a relationship to the filter
- Create an Application Profile
- Create EPGs (2 EPGs). Relate each EPG to a VMM Domain, BD create earlier and a Contract.