diff --git a/civo/loadbalancer/resource_loadbalancer.go b/civo/loadbalancer/resource_loadbalancer.go index 3743056..6203d75 100644 --- a/civo/loadbalancer/resource_loadbalancer.go +++ b/civo/loadbalancer/resource_loadbalancer.go @@ -274,9 +274,10 @@ func resourceLoadBalancerCreate(ctx context.Context, d *schema.ResourceData, m i conf.ClusterID = v.(string) } - //if v, ok := d.GetOk("max_concurrent_requests"); ok { - // conf.MaxConcurrentRequests = v.(int) - //} + if v, ok := d.GetOk("max_concurrent_requests"); ok { + num := v.(int) + conf.MaxConcurrentRequests = &num + } // Set backend configurations if provided if backendSet {