Skip to content

Commit 9d0bfca

Browse files
committed
Clarify hcloud_volume documentation
Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
1 parent 305bdc4 commit 9d0bfca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/r/volume.html.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ resource "hcloud_volume" "master" {
3131

3232
- `name` - (Required, string) Name of the volume to create (must be unique per project).
3333
- `size` - (Required, int) Size of the volume (in GB).
34-
- `server_id` - (Optional, int) Server to attach the Volume to, optional if location argument is passed.
35-
- `location` - (Optional, string) Location of the volume to create, optional if server_id argument is passed.
34+
- `server_id` - (Optional, int) Server to attach the Volume to, not allowed if location argument is passed.
35+
- `location` - (Optional, string) Location of the volume to create, not allowed if server_id argument is passed.
3636
- `automount` - (Optional, bool) Automount the volume upon attaching it (server_id must be provided).
3737
- `format` - (Optional, string) Format volume after creation. `xfs` or `ext4`
3838

0 commit comments

Comments
 (0)