Skip to content

Commit 7a2868f

Browse files
authored
docs/ipam: add warning on the use of client-defined IPs (scaleway#2534)
Using specific IPs may lead to conflicts with automatically-allocated IPs by IPAM, blocking further progression of the terraform plan. This adds an outline of the issue, and some recommendations on how to work around it.
1 parent 6b87932 commit 7a2868f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/resources/ipam_ip.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ resource "scaleway_ipam_ip" "ip01" {
7979
The following arguments are supported:
8080

8181
- `address` - (Optional) Request a specific IP in the requested source pool.
82+
83+
~> **Important:** when requesting specific IP addresses, it is best ensure those are created before any other resource in the Private Network. This can be achieved by using `depends_on` relations, or moving the declarations to another terraform module. Otherwise, other resources may take the requested address first, blocking the whole terraform setup. Static IPs should be avoided unless necessary as we cannot guarantee full automation; and we recommend to use DNS or not request any specific IP.
84+
8285
- `tags` - (Optional) The tags associated with the IP.
8386
- `source` - (Required) The source in which to book the IP.
8487
- `zonal` - The zone the IP lives in if the IP is a public zoned one

0 commit comments

Comments
 (0)