Skip to content

Commit 8dc150c

Browse files
committed
update documentation and templates
1 parent bc7919e commit 8dc150c

File tree

8 files changed

+12
-44
lines changed

8 files changed

+12
-44
lines changed

docs/data-sources/instance_server.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ You find all the available types on the [pricing page](https://www.scaleway.com/
5959
- `additional_volume_ids` - The [additional volumes](https://developers.scaleway.com/en/products/instance/api/#volumes-7e8a39)
6060
attached to the server.
6161

62-
- `enable_ipv6` - Determines if IPv6 is enabled for the server.
63-
6462
- `enable_dynamic_ip` - True if dynamic IP in enable on the server.
6563

6664
- `state` - The state of the server. Possible values are: `started`, `stopped` or `standby`.
@@ -78,16 +76,10 @@ attached to the server.
7876
- `root_volume`
7977
- `volume_id` - The volume ID of the root volume of the server.
8078

81-
- `private_ip` - The Scaleway internal IP address of the server.
82-
83-
- `public_ip` - The public IP address of the server.
84-
8579
- `public_ips` - The list of public IPs of the server
8680
- `id` - The ID of the IP
8781
- `address` - The address of the IP
8882

89-
- `ipv6_address` - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
90-
91-
- `ipv6_gateway` - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
92-
93-
- `ipv6_prefix_length` - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
83+
- `private_ips` - The list of private IPs of the server.
84+
- `id` - The ID of the IP address resource.
85+
- `address` - The private IP address.

docs/data-sources/instance_servers.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ In addition to all above arguments, the following attributes are exported:
4444
~> **Important:** Instance servers' 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`
4545

4646
- `tags` - The tags associated with the server.
47-
- `public_ip` - The public IP address of the server.
48-
- `private_ip` - The Scaleway internal IP address of the server.
4947
- `private_ips` - The list of private IPv4 and IPv6 addresses associated with the server.
5048
- `id` - The ID of the IP address resource.
5149
- `address` - The private IP address.
@@ -59,14 +57,8 @@ In addition to all above arguments, the following attributes are exported:
5957
- `boot_type` - The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
6058
- `type` - The commercial type of the server.
6159
- `security_group_id` - The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
62-
- `enable_ipv6` - Determines if IPv6 is enabled for the server.
63-
- `ipv6_address` - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
64-
- `ipv6_gateway` - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
65-
- `ipv6_prefix_length` - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
6660
- `enable_dynamic_ip` - If true a dynamic IP will be attached to the server.
6761
- `image` - The UUID or the label of the base image used by the server.
6862
- `placement_group_id` - The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the server is attached to.
6963
- `organization_id` - The organization ID the server is associated with.
7064
- `project_id` - The ID of the project the server is associated with.
71-
72-

docs/guides/migration_guide_v2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ $ terraform state show scaleway_server.main
127127
# scaleway_server.main:
128128
resource "scaleway_server" "main" {
129129
boot_type = "local"
130-
enable_ipv6 = false
131130
id = "11111111-1111-1111-1111-111111111111"
132131
image = "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc"
133132
name = "foobar"

docs/resources/instance_server.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ In addition to all arguments above, the following attributes are exported:
289289
- `placement_group_policy_respected` - (Deprecated) Always false, use [instance_placement_group ressource](instance_placement_group.md) to known when the placement group policy is respected.
290290
- `root_volume`
291291
- `volume_id` - The volume ID of the root volume of the server.
292-
- `private_ip` - The Scaleway internal IP address of the server (Deprecated use [ipam_ip datasource](../data-sources/ipam_ip.md#instance-private-network-ip) instead).
293-
- `public_ip` - The public IP address of the server (Deprecated use `public_ips` instead).
294292
- `public_ips` - The list of public IPs of the server.
295293
- `id` - The ID of the IP.
296294
- `address` - The address of the IP.
@@ -299,6 +297,9 @@ In addition to all arguments above, the following attributes are exported:
299297
- `family` - The IP address' family.
300298
- `dynamic` - Whether the IP is dynamic.
301299
- `provisioning_mode` - The provisioning mode of the IP
300+
- `private_ips` - The list of private IPs of the server.
301+
- `id` - The ID of the IP.
302+
- `address` - The address of the IP.
302303
- `boot_type` - The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
303304
- `organization_id` - The organization ID the server is associated with.
304305

templates/data-sources/instance_server.md.tmpl

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ You find all the available types on the [pricing page](https://www.scaleway.com/
5959
- `additional_volume_ids` - The [additional volumes](https://developers.scaleway.com/en/products/instance/api/#volumes-7e8a39)
6060
attached to the server.
6161

62-
- `enable_ipv6` - Determines if IPv6 is enabled for the server.
63-
6462
- `enable_dynamic_ip` - True if dynamic IP in enable on the server.
6563

6664
- `state` - The state of the server. Possible values are: `started`, `stopped` or `standby`.
@@ -78,16 +76,10 @@ attached to the server.
7876
- `root_volume`
7977
- `volume_id` - The volume ID of the root volume of the server.
8078

81-
- `private_ip` - The Scaleway internal IP address of the server.
82-
83-
- `public_ip` - The public IP address of the server.
84-
8579
- `public_ips` - The list of public IPs of the server
8680
- `id` - The ID of the IP
8781
- `address` - The address of the IP
8882

89-
- `ipv6_address` - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
90-
91-
- `ipv6_gateway` - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
92-
93-
- `ipv6_prefix_length` - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
83+
- `private_ips` - The list of private IPs of the server.
84+
- `id` - The ID of the IP address resource.
85+
- `address` - The private IP address.

templates/data-sources/instance_servers.md.tmpl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ In addition to all above arguments, the following attributes are exported:
4444
~> **Important:** Instance servers' 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`
4545

4646
- `tags` - The tags associated with the server.
47-
- `public_ip` - The public IP address of the server.
48-
- `private_ip` - The Scaleway internal IP address of the server.
4947
- `private_ips` - The list of private IPv4 and IPv6 addresses associated with the server.
5048
- `id` - The ID of the IP address resource.
5149
- `address` - The private IP address.
@@ -59,14 +57,8 @@ In addition to all above arguments, the following attributes are exported:
5957
- `boot_type` - The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
6058
- `type` - The commercial type of the server.
6159
- `security_group_id` - The [security group](https://developers.scaleway.com/en/products/instance/api/#security-groups-8d7f89) the server is attached to.
62-
- `enable_ipv6` - Determines if IPv6 is enabled for the server.
63-
- `ipv6_address` - The default ipv6 address routed to the server. ( Only set when enable_ipv6 is set to true )
64-
- `ipv6_gateway` - The ipv6 gateway address. ( Only set when enable_ipv6 is set to true )
65-
- `ipv6_prefix_length` - The prefix length of the ipv6 subnet routed to the server. ( Only set when enable_ipv6 is set to true )
6660
- `enable_dynamic_ip` - If true a dynamic IP will be attached to the server.
6761
- `image` - The UUID or the label of the base image used by the server.
6862
- `placement_group_id` - The [placement group](https://developers.scaleway.com/en/products/instance/api/#placement-groups-d8f653) the server is attached to.
6963
- `organization_id` - The organization ID the server is associated with.
7064
- `project_id` - The ID of the project the server is associated with.
71-
72-

templates/guides/migration_guide_v2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ $ terraform state show scaleway_server.main
127127
# scaleway_server.main:
128128
resource "scaleway_server" "main" {
129129
boot_type = "local"
130-
enable_ipv6 = false
131130
id = "11111111-1111-1111-1111-111111111111"
132131
image = "cf44b8f5-77e2-42ed-8f1e-09ed5bb028fc"
133132
name = "foobar"

templates/resources/instance_server.md.tmpl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,6 @@ In addition to all arguments above, the following attributes are exported:
289289
- `placement_group_policy_respected` - (Deprecated) Always false, use [instance_placement_group ressource](instance_placement_group.md) to known when the placement group policy is respected.
290290
- `root_volume`
291291
- `volume_id` - The volume ID of the root volume of the server.
292-
- `private_ip` - The Scaleway internal IP address of the server (Deprecated use [ipam_ip datasource](../data-sources/ipam_ip.md#instance-private-network-ip) instead).
293-
- `public_ip` - The public IP address of the server (Deprecated use `public_ips` instead).
294292
- `public_ips` - The list of public IPs of the server.
295293
- `id` - The ID of the IP.
296294
- `address` - The address of the IP.
@@ -299,6 +297,9 @@ In addition to all arguments above, the following attributes are exported:
299297
- `family` - The IP address' family.
300298
- `dynamic` - Whether the IP is dynamic.
301299
- `provisioning_mode` - The provisioning mode of the IP
300+
- `private_ips` - The list of private IPs of the server.
301+
- `id` - The ID of the IP.
302+
- `address` - The address of the IP.
302303
- `boot_type` - The boot Type of the server. Possible values are: `local`, `bootscript` or `rescue`.
303304
- `organization_id` - The organization ID the server is associated with.
304305

0 commit comments

Comments
 (0)