Skip to content

Commit 652ee31

Browse files
committed
feat(docs): add migration guide for lb
1 parent a9bd7da commit 652ee31

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

docs/guides/migration_guide_v2.md

+32
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,35 @@ The `scaleway_bucket` was moved to the `object` product in the `storage` product
298298

299299
It's behaviour remained the same, but we also added an [`acl` attribute](../resources/object_bucket.md#acl).
300300
This attribute takes canned ACLs.
301+
302+
### LoadBalancer
303+
304+
#### Remove: `scaleway_lb.release_ip`
305+
306+
The attribute `scaleway_lb.release_ip` will be deprecated on the provider's next releases.
307+
308+
It's behaviour remain the same, but the IPs will be managed by the resource `scaleway_lb_ip`.
309+
This prevents the destruction of the IP from releasing the LBs resources.
310+
311+
v1.X
312+
```shell
313+
resource scaleway_lb_ip ip01 {
314+
}
315+
resource scaleway_lb main {
316+
ip_id = scaleway_lb_ip.ip01.id
317+
name = "release-ip"
318+
type = "LB-S"
319+
release_ip = true
320+
}
321+
```
322+
323+
v2.X
324+
```shell
325+
resource scaleway_lb_ip ip01 {
326+
}
327+
resource scaleway_lb main {
328+
ip_id = scaleway_lb_ip.ip01.id
329+
name = "release-ip"
330+
type = "LB-S"
331+
}
332+
```

0 commit comments

Comments
 (0)