github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/examples/alicloud-slb/README.md (about)

     1  ### SLB Example
     2  
     3  The example create SLB and additional listener, the listener parameter following:
     4  
     5  ### SLB Listener parameter describe
     6  listener parameter | support protocol | value range | remark |
     7  ------------- | ------------- | ------------- |  ------------- |
     8  instance_port | http & https & tcp & udp | 1-65535 | the ecs instance port |
     9  lb_port | http & https & tcp & udp | 1-65535 | the slb linstener port |
    10  lb_protocol | http & https & tcp & udp | http or https or tcp or udp | |
    11  bandwidth | http & https & tcp & udp | -1 / 1-1000 | |
    12  scheduler | http & https & tcp & udp | wrr or wlc | |
    13  sticky_session | http & https | on or off | |
    14  sticky_session_type | http & https | insert or server | if sticky_session is on, the value must have|
    15  cookie_timeout | http & https | 1-86400  | if sticky_session is on and sticky_session_type is insert, the value must have|
    16  cookie | http & https |   | if sticky_session is on and sticky_session_type is server, the value must have|
    17  persistence_timeout | tcp & udp | 0-3600 | |
    18  health_check | http & https | on or off | |
    19  health_check_type | tcp | tcp or http | if health_check is on, the value must have |
    20  health_check_domain | http & https & tcp | | example: $_ip/some string/.if health_check is on, the value must have |
    21  health_check_uri | http & https & tcp |  | example: /aliyun. if health_check is on, the value must have |
    22  health_check_connect_port | http & https & tcp & udp | 1-65535 or -520 | if health_check is on, the value must have |
    23  healthy_threshold | http & https & tcp & udp | 1-10 | if health_check is on, the value must have |
    24  unhealthy_threshold | http & https & tcp & udp | 1-10 | if health_check is on, the value must have |
    25  health_check_timeout | http & https & tcp & udp | 1-50 | if health_check is on, the value must have |
    26  health_check_interval | http & https & tcp & udp | 1-5 | if health_check is on, the value must have |
    27  health_check_http_code | http & https & tcp | http_2xx,http_3xx,http_4xx,http_5xx | if health_check is on, the value must have |
    28  ssl_certificate_id | https |  |  |
    29  
    30  ### Get up and running
    31  
    32  * Planning phase
    33  
    34  		terraform plan 
    35  
    36  * Apply phase
    37  
    38  		terraform apply 
    39  
    40  
    41  * Destroy 
    42  
    43  		terraform destroy