Commit 6ee5a61 1 parent 6bbb1eb commit 6ee5a61 Copy full SHA for 6ee5a61
File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ The following arguments are supported:
49
49
- ` forward_protocol ` - (Required) Backend protocol. Possible values are: ` tcp ` or ` http ` .
50
50
- ` name ` - (Optional) The name of the load-balancer backend.
51
51
- ` forward_port ` - (Required) User sessions will be forwarded to this port of backend servers.
52
- - ` forward_port_algorithm ` - (Default: ` roundrobin ` ) Load balancing algorithm. Possible values are: ` roundrobin ` and ` leastconn ` .
52
+ - ` forward_port_algorithm ` - (Default: ` roundrobin ` ) Load balancing algorithm. Possible values are: ` roundrobin ` , ` leastconn ` and ` first ` .
53
53
- ` sticky_sessions ` - (Default: ` none ` ) Load balancing algorithm. Possible values are: ` none ` , ` cookie ` and ` table ` .
54
54
- ` sticky_sessions_cookie_name ` - (Optional) Cookie name for for sticky sessions. Only applicable when sticky_sessions is set to ` cookie ` .
55
55
- ` server_ips ` - (Optional) List of backend server IP addresses. Addresses can be either IPv4 or IPv6.
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ func resourceScalewayLbBackend() *schema.Resource {
52
52
ValidateFunc : validation .StringInSlice ([]string {
53
53
lb .ForwardPortAlgorithmRoundrobin .String (),
54
54
lb .ForwardPortAlgorithmLeastconn .String (),
55
+ lb .ForwardPortAlgorithmFirst .String (),
55
56
}, false ),
56
57
Default : lb .ForwardPortAlgorithmRoundrobin .String (),
57
58
Optional : true ,
You can’t perform that action at this time.
0 commit comments