Giter Club home page Giter Club logo

terraform-provider-stingray's Introduction

Stingray Terraform Provider

GoDoc Build Status

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

Example usage

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

Argument Reference

  • url - The protocol, host name, and port for the Stingray 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 STINGRAY_URL, STINGRAY_USERNAME, STINGRAY_PASSWORD, STINGRAY_VALID_NETWORKS, and STINGRAY_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 Stingray REST API documentation, with the following exceptions:

stingray_virtual_server

  • enabled: provider default is true; Stingray default is false
  • listen_on_any: provider default is false; Stingray default is true

Building

Dependencies are vendored (using godep save -r). Running go install will build and install the terraform-provider-stingray binary.

terraform-provider-stingray's People

Contributors

svend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-provider-stingray's Issues

stingray_virtual_server: gzip_include_mime default value is not set

The default is set to []string{"text/html", "text/plain"}, but virtual servers get an empty list on apply.

"gzip_include_mime": &schema.Schema{
Type: schema.TypeSet,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeString},
Set: func(v interface{}) int {
return hashcode.String(v.(string))
},
// FIXME: This is not working
Default: []string{"text/html", "text/plain"},
},

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.