Skip to content

Commit

Permalink
Support HTTP_COOKIE for lbass #2218
Browse files Browse the repository at this point in the history
  • Loading branch information
hkantare committed Feb 5, 2021
1 parent 18ff337 commit 1d3a2fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ibm/resource_ibm_lbaas.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ func resourceIBMLbaas() *schema.Resource {
"session_stickiness": {
Type: schema.TypeString,
Optional: true,
Description: "Session stickness. Valid values is SOURCE_IP",
ValidateFunc: validateAllowedStringValue([]string{"SOURCE_IP"}),
Description: "Session stickness. Valid values is SOURCE_IP and HTTP_COOKIE",
ValidateFunc: validateAllowedStringValue([]string{"SOURCE_IP", "HTTP_COOKIE"}),
},
"max_conn": {
Type: schema.TypeInt,
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/lbaas.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The default is 'PUBLIC'.
* `backend_protocol` - (Required, string) The backend protocol. Accepted values are 'TCP', 'HTTP', and 'HTTPS'.
* `backend_port` - (Required, integer) The backend protocol port number. The port number must be in the range of 1 - 65535.
* `load_balancing_method` - (Optional, string) The load balancing algorithm. Accepted values are 'round_robin', 'weighted_round_robin', and 'least_connection'. The default is 'round_robin'.
* `session_stickiness` - (Optional, string) The SOURCE_IP for session stickiness.
* `session_stickiness` - (Optional, string) The SOURCE_IP or HTTP_COOKIE for session stickiness.
* `max_conn` - (Optional, integer) The maximum number of connections the listener can accept. The number must be 1 - 64000.
* `tls_certificate_id` - (Optional, integer) The ID of the SSL/TLS certificate being used for a protocol. This ID should be specified when `frontend protocol` has a value of `HTTPS`.
* `ssl_ciphers` - (Optional, list) The comma seperated list of SSL Ciphers. You can find list of supported cipheres [ssl_offload](https://cloud.ibm.com/docs/infrastructure/loadbalancer-service?topic=loadbalancer-service-ssl-offload-with-ibm-cloud-load-balancer).
Expand Down

0 comments on commit 1d3a2fc

Please sign in to comment.