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

docs: fix labels arguments and attributes for volumes and primary ips #1016

Merged
merged 1 commit into from
Oct 22, 2024
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
2 changes: 1 addition & 1 deletion website/docs/d/primary_ip.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ resource "hcloud_server" "server_test" {
- `name` - (string) Name of the Primary IP.
- `datacenter` - (string) The datacenter name of the Primary IP.
- `auto_delete` - (bool) Whether auto delete is enabled.
- `labels` - (string) Description of the Primary IP.
- `labels` - (map) User-defined labels (key-value pairs).
- `ip_address` - (string) IP Address of the Primary IP.
- `ip_network` - (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
- `assignee_id` - (int) ID of the assigned resource.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/primary_ip.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ resource "hcloud_server" "server_test" {
- `datacenter` - (string, optional) The datacenter name to create the resource in.
- `auto_delete` - (bool) Whether auto delete is enabled.
`Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to the managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
- `labels` - (string) Description of the Primary IP.
- `labels` - (map, optional) User-defined labels (key-value pairs).
- `assignee_id` - (int) ID of the assigned resource
- `assignee_type` - (string) The type of the assigned resource. Currently supported: `server`
- `delete_protection` - (bool) Whether delete protection is enabled. See ["Delete Protection"](../index.html.markdown#delete-protection) in the Provider Docs for details.
Expand All @@ -62,7 +62,7 @@ resource "hcloud_server" "server_test" {
- `name` - (string) Name of the Primary IP.
- `auto_delete` - (bool) Whether auto delete is enabled.
`Important note:`It is recommended to set `auto_delete` to `false`, because if a server assigned to a managed ip is getting deleted, it will also delete the primary IP which will break the TF state.
- `labels` - (string) Description of the Primary IP.
- `labels` - (map) User-defined labels (key-value pairs).
- `ip_address` - (string) IP Address of the Primary IP.
- `ip_network` - (string) IPv6 subnet of the Primary IP for IPv6 addresses. (Only set if `type` is `ipv6`)
- `assignee_id` - (int) ID of the assigned resource
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/volume.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ resource "hcloud_volume" "master" {

- `name` - (Required, string) Name of the volume to create (must be unique per project).
- `size` - (Required, int) Size of the volume (in GB).
- `labels` - (Optional, map) User-defined labels (key-value pairs).
- `server_id` - (Optional, int) Server to attach the Volume to, not allowed if location argument is passed.
- `location` - (Optional, string) The location name of the volume to create, not allowed if server_id argument is passed.
- `automount` - (Optional, bool) Automount the volume upon attaching it (server_id must be provided).
Expand Down