This section describes how to use Terraform templates to automatically deploy a Versa Operating SystemTM (VOSTM) device as a branch. You obtain the Terraform template files from Versa Networks Customer Support. To deploy a VOS device as a branch, ask for the Versa_FlexVNF_SingleBranch_Staging.zip file, which contains the Terraform templates for the branch deployment.
To deploy a VOS device as a branch using Terraform templates, follow Step 1 to Step 6 as described in Create VMs for Versa Headend Components.
The following table describes the contents of each Terraform template file and the actions performed by each file.
| **Filename** | **Description or Action** |
|---|---|
| vars.tf | Definitions of all variables defined and used in the template. Do not make any changes to this file. |
| terraform.tfvars |
User-defined input variables that are used to populate the Terraform templates. Edit this file to set or change the following variables:
|
| output.tf | Output parameters, including management IP address, public IP address, WAN IP address, LAN IP address, and CLI commands, for all instances. Do not make any changes to this file. |
| flexvnf.sh | Bash script that runs as part of cloud-init script on the VOS instance. Do not make any changes to this file. |
| main.tf |
|