Skip to content

Commit 6006159

Browse files
authored
fix(lb): handle 403 http code for lb ip (#800)
1 parent ef5578f commit 6006159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleway/resource_lb_ip.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func resourceScalewayLbIPRead(ctx context.Context, d *schema.ResourceData, meta
8181
}, scw.WithContext(ctx))
8282

8383
if err != nil {
84-
if is404Error(err) {
84+
if is404Error(err) || is403Error(err) {
8585
d.SetId("")
8686
return nil
8787
}

0 commit comments

Comments
 (0)