Terraform provider used to interact with the VTM load balancer
Clone or download
Pull request Compare This branch is 53 commits ahead of whitepages:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Ignore vendor and update to right libarary Jul 22, 2016
.travis.yml travis: Run `go test -v` Sep 9, 2015
CHANGELOG.md Release 2.7.2 Oct 15, 2015
LICENSE Initial import Dec 2, 2014
README.md Update readme to use glide instead of godeps Jul 22, 2016
config.go Linting and remove supporting for rule notes Feb 22, 2017
glide.lock Update lock and dont overwrite node pool if autoscalling Dec 11, 2018
glide.yaml Fixes to nil pointer deref and local glide changes Feb 1, 2017
main.go Convert to go 1.5 vendor experiment Sep 9, 2015
netlist.go Add netList type Feb 24, 2015
netlist_test.go Fix go-vet warning Mar 5, 2015
provider.go Ignore vendor and update to right libarary Jul 22, 2016
resource_action.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_action_program.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_eventtype.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_extra_file.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_license_key.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_monitor.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_monitor_script.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_pool.go Create a empty nodes table and then update it Dec 12, 2018
resource_protection.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_rate.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_rule.go Remove note support and setup string to fail if it is there Feb 22, 2017
resource_service_level_monitor.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_ssl_cas.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_ssl_server_key.go Linting and remove supporting for rule notes Feb 22, 2017
resource_traffic_ip_group.go Update deps to 0.7.x and use import feature Sep 26, 2016
resource_virtual_server.go SSL: Add config for SSLv2 as well Jan 23, 2018

README.md

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