From 8d1aa42e7bf94a23e7a5ac77f71765f5ea571335 Mon Sep 17 00:00:00 2001 From: abarbare Date: Fri, 25 Oct 2019 12:19:25 +0200 Subject: [PATCH] fix: Scaleway loadbalancer API url (#63437) --- lib/ansible/modules/cloud/scaleway/scaleway_lb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/scaleway/scaleway_lb.py b/lib/ansible/modules/cloud/scaleway/scaleway_lb.py index 48807793204..3ccd9e0e4bc 100644 --- a/lib/ansible/modules/cloud/scaleway/scaleway_lb.py +++ b/lib/ansible/modules/cloud/scaleway/scaleway_lb.py @@ -320,7 +320,7 @@ def core(module): } module.params['api_url'] = SCALEWAY_ENDPOINT api = Scaleway(module=module) - api.api_path = "lbaas/v1beta1/regions/%s/lbs" % region + api.api_path = "lb/v1/regions/%s/lbs" % region changed, summary = state_strategy[wished_load_balancer["state"]](api=api, wished_lb=wished_load_balancer)