The VTM Terraform provider is used to interact with the VTM load balancer.
provider "vtm" {
url = "https://example:9070"
username = "username"
password = "password"
}
url
- The protocol, host name, and port for the VTM REST APIusername
- The username for authenticating against the APIpassword
- The password for authenticating against the APIvalid_networks
- A comma separated list of valid traffic IP networks (in CIDR notation)verify_ssl
- Perform SSL verification, default is true
The provider can also be configured through the environmental
variables VTM_URL
, VTM_USERNAME
, VTM_PASSWORD
,
VTM_VALID_NETWORKS
, and VTM_VERIFY_SSL
.
See the resource_*.go
files for available resources and the
supported arguments for each resource.
Support for resources is being added as needed. Bold resources are fully supported.
- Action Program
- Alerting Action
- Aptimizer Application Scope
- Aptimizer Profile
- Bandwidth Class
- Cloud Credentials
- Custom configuration set
- Event Type
- Extra File
- GLB Service
- Global Settings
- License
- Location
- Monitor
- Monitor Program
- NAT Configuration
- Pool
- Protection Class
- Rate Shaping Class
- Rule
- SLM Class
- SSL Client Key Pair
- SSL Key Pair
- SSL Trusted Certificate
- Security Settings
- Session Persistence Class
- Traffic IP Group
- Traffic Manager
- TrafficScript Authenticator
- User Authenticator
- User Group
- Virtual Server
All default values are taken from the VTM REST API documentation, with the following exceptions:
vtm_virtual_server
enabled
: provider default is true; VTM default is falselisten_on_any
: provider default is false; VTM default is true
Install glide and then do glide install and then you should be able to do go build -o terraform-provider-vtm