-
Go to the respective example folder in the examples folder. Eg: Let's assume you need to provision a VPX on SDX.
cd examples/resources/netscalersdx_provision_vpx
-
Configure the
provider.tf
file - There are two ways- Provide
host
,username
,password
andssl_verify
details in theprovider.tf
file, OR - Have the respective ENVIRONMENT variables set:
NETSCALERSDX_HOST
,NETSCALERSDX_USERNAME
,NETSCALERSDX_PASSWORD
andNETSCALERSDX_SSL_VERIFY
.
- Provide
-
Run the
terraform init
command. -
Run the
terraform plan
command. -
Run the
terraform apply
command. (If you want to destroy the resource, runterraform destroy
command).