Skip to content

Commit 3c70114

Browse files
authored
fix(block): volume from snapshot with size (#3200)
1 parent 33090e3 commit 3c70114

File tree

4 files changed

+1384
-15
lines changed

4 files changed

+1384
-15
lines changed

docs/resources/block_volume.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ This section lists the arguments that are supported:
5151

5252
- `iops` - (Required) The maximum [IOPs](https://www.scaleway.com/en/docs/block-storage/concepts/#iops) expected, must match available options.
5353
- `name` - (Optional) The name of the volume. If not provided, a name will be randomly generated.
54-
- `size_in_gb` - (Optional) The size of the volume in gigabytes. Only one of `size_in_gb`, and `snapshot_id` should be specified.
55-
- `snapshot_id` - (Optional) If set, the new volume will be created from this snapshot. Only one of `size_in_gb`, `snapshot_id` should be specified.
54+
- `size_in_gb` - (Optional) The size of the volume in gigabytes.
55+
- `snapshot_id` - (Optional) If set, the new volume will be created from this snapshot.
5656
- `tags` - (Optional) A list of tags to apply to the volume.
5757
- `zone` - (Defaults to the zone specified in the [provider configuration](../index.md#zone)). The [zone](../guides/regions_and_zones.md#zones) in which the volume should be created.
5858
- `project_id` - (Defaults to the Project ID specified in the [provider configurqtion](../index.md#project_id)). The ID of the Project the volume is associated with.

0 commit comments

Comments
 (0)