diff --git a/ovh/resource_iploadbalancing_http_frontend.go b/ovh/resource_iploadbalancing_http_frontend.go index f6a05649e..b836d351c 100644 --- a/ovh/resource_iploadbalancing_http_frontend.go +++ b/ovh/resource_iploadbalancing_http_frontend.go @@ -35,7 +35,7 @@ func resourceIpLoadbalancingHttpFrontend() *schema.Resource { ForceNew: false, }, "allowed_source": { - Type: schema.TypeList, + Type: schema.TypeSet, Optional: true, Elem: &schema.Schema{Type: schema.TypeString}, }, diff --git a/ovh/resource_iploadbalancing_tcp_frontend.go b/ovh/resource_iploadbalancing_tcp_frontend.go index d3182296c..7c72819cd 100644 --- a/ovh/resource_iploadbalancing_tcp_frontend.go +++ b/ovh/resource_iploadbalancing_tcp_frontend.go @@ -35,12 +35,12 @@ func resourceIpLoadbalancingTcpFrontend() *schema.Resource { ForceNew: false, }, "allowed_source": { - Type: schema.TypeList, + Type: schema.TypeSet, Optional: true, Elem: &schema.Schema{Type: schema.TypeString}, }, "dedicated_ipfo": { - Type: schema.TypeList, + Type: schema.TypeSet, Optional: true, Elem: &schema.Schema{Type: schema.TypeString}, },