View on GitHub

Application Node Resource

Application Node resource allows to create a node that is used to implement a traffic policy. Application Nodes are applicative endpoints monitored by SOLIDserver GSLB(s).

Example Usage

Creating an Application Node:

resource "solidserver_app_node" "myFirstNode" {
  name         = "myFirstNode"
  application  = "${solidserver_app_application.myFirstApplicaton.name}"
  fqdn         = "${solidserver_app_application.myFirstApplicaton.fqdn}"
  pool         = "${solidserver_app_pool.myFirstPool.name}"
  address      = "127.0.0.1"
  weight       = 1
  healthcheck  = "tcp"
  healthcheck_parameters {
    tcp_port = "443"
  }
}

Argument Reference

Healtcheck Parameter Supported Values
tcp tcp_port Any value between 1 and 65535.
http http_host The SNI hostname to look for.
http http_port Any value between 1 and 65535.
http http_path The URL path to look for.
http http_ssl Use 0 (disable) or 1 (enable) for HTTPS connection.
http http_status_code The HTTP status code to expect.
http http_lookup_string A string the must be included in the answer payload.
http http_basic_auth HTTP basic auth header (user:password).
http http_ssl_verify Use 0 or 1 to activate ssl certificate checks.

Attribute Reference