Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(instance_server): mark private_ip as deprecated #2852

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/resources/instance_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ In addition to all arguments above, the following attributes are exported:
- `placement_group_policy_respected` - True when the placement group policy is respected.
- `root_volume`
- `volume_id` - The volume ID of the root volume of the server.
- `private_ip` - The Scaleway internal IP address of the server.
- `public_ip` - The public IP address of the server (Deprecated use `public_ips` instead).
- `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).
- `public_ip` - The public IP address of the server (Deprecated use `public_ips` instead).
- `public_ips` - The list of public IPs of the server.
- `id` - The ID of the IP
- `address` - The address of the IP
Expand Down
1 change: 1 addition & 0 deletions internal/services/instance/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func ResourceServer() *schema.Resource {
Type: schema.TypeString,
Computed: true,
Description: "The Scaleway internal IP address of the server",
Deprecated: "Use ipam_ip datasource instead to fetch your server's IP in your private network.",
},
"public_ip": {
Type: schema.TypeString,
Expand Down
Loading