/terraform-provider-vtm

Terraform provider used to interact with the VTM load balancer

Primary LanguageGoMozilla Public License 2.0MPL-2.0

VTM Terraform Provider

GoDoc Build Status

The VTM Terraform provider is used to interact with the VTM load balancer.

Example usage

provider "vtm" {
	url = "https://example:9070"
	username = "username"
	password = "password"
}

Argument Reference

  • url - The protocol, host name, and port for the VTM REST API
  • username - The username for authenticating against the API
  • password - The password for authenticating against the API
  • valid_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.

Supported Resources

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

Default values

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 false
  • listen_on_any: provider default is false; VTM default is true

Building

Install glide and then do glide install and then you should be able to do go build -o terraform-provider-vtm