Skip to content

Latest commit

 

History

History
68 lines (55 loc) · 2.95 KB

File metadata and controls

68 lines (55 loc) · 2.95 KB
page_title solidserver_app_node Resource - SOLIDserver
subcategory
description Application Node resource allow to create and manage application endpoints that are monitored by the GSLB DNS servers associated with the application, in order to route related traffic according to the selected loadbalancing strategy.

solidserver_app_node (Resource)

Application Node resource allow to create and manage application endpoints that are monitored by the GSLB DNS servers associated with the application, in order to route related traffic according to the selected loadbalancing strategy.

Example Usage

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"
  }
}

Schema

Required

  • application (String) The name of the application associated to the node.
  • fqdn (String) The fqdn of the application associated to the node.
  • name (String) The name of the application node to create.
  • pool (String) The name of the application pool associated to the node.

Optional

  • address (String) The IP address (IPv4 or IPv6 depending on the node) of the application node to create.
  • failback_threshold (Number) The healthcheck failback threshold for the application node to create (Supported: 1-10; Default: 3).
  • failure_threshold (Number) The healthcheck failure threshold for the application node to create (Supported: 1-10; Default: 3).
  • healthcheck (String) The healthcheck name for the application node to create (Supported: ok,ping,tcp,http; Default: ok).
  • healthcheck_frequency (Number) The healthcheck frequency in second for the application node to create (Supported: 10,30,60,300; Default: 60).
  • healthcheck_parameters (Map of String) The healthcheck parameters.
  • healthcheck_timeout (Number) The healthcheck timeout in second for the application node to create (Supported: 1-10; Default: 3).
  • weight (Number) The weight of the application node to create.

Read-Only

  • id (String) The ID of this resource.

Supported HealthCheck(s)

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.