You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/resources/instance_ip.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,11 @@ In addition to all arguments above, the following attributes are exported:
30
30
~> **Important:** Instance IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
31
31
32
32
-`address` - The IP address.
33
+
34
+
~> **Important:** For IPv6 addresses, the full address is not readable from the "scaleway_instance_ip" resource, only the prefix.
35
+
To get the full address, the IP must be attached to another resource and read from the latter.
36
+
For example, for a server, the address will be listed in the "public_ips" or "private_ips" attribute of the "scaleway_instance_server".
37
+
33
38
-`prefix` - The IP Prefix.
34
39
-`reverse` - The reverse dns attached to this IP
35
40
-`organization_id` - The organization ID the IP is associated with.
returnfmt.Errorf("IPs should be the same in %s and %s: %v is different than %v", ipResource, serverResource, server.Server.PublicIP.Address, ip.IP.Address) //nolint:staticcheck
Copy file name to clipboardExpand all lines: templates/resources/instance_ip.md.tmpl
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,11 @@ In addition to all arguments above, the following attributes are exported:
30
30
~> **Important:** Instance IPs' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
31
31
32
32
- `address` - The IP address.
33
+
34
+
~> **Important:** For IPv6 addresses, the full address is not readable from the "scaleway_instance_ip" resource, only the prefix.
35
+
To get the full address, the IP must be attached to another resource and read from the latter.
36
+
For example, for a server, the address will be listed in the "public_ips" or "private_ips" attribute of the "scaleway_instance_server".
37
+
33
38
- `prefix` - The IP Prefix.
34
39
- `reverse` - The reverse dns attached to this IP
35
40
- `organization_id` - The organization ID the IP is associated with.
0 commit comments