Skip to content

Commit 33edb2c

Browse files
committed
fix doc and template
1 parent a7af3df commit 33edb2c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

docs/resources/instance_image.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,12 @@ In addition to all arguments above, the following attributes are exported:
116116
- `tags` - List of tags associated with the volume.
117117
- `state` - State of the volume.
118118
- `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the volume is.
119-
- `server` - Description of the server containing the volume (in case the image is a backup from a server).
119+
120+
- `server` - Description of the server containing the volume (in case the image is a backup from a server).
120121

121122
-> The `server` block contains :
122-
- `id` - ID of the server containing the volume.
123-
- `name` - Name of the server containing the volume.
123+
- `id` - ID of the server containing the volume.
124+
- `name` - Name of the server containing the volume.
124125

125126
## Import
126127

templates/resources/instance_image.md.tmpl

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ resource "scaleway_instance_snapshot" "server_snapshot" {
6969
resource "scaleway_instance_image" "image" {
7070
name = "image_with_extra_volumes"
7171
root_volume_id = scaleway_instance_snapshot.server_snapshot.id
72-
additional_volumes = [
72+
additional_volume_ids = [
7373
scaleway_instance_snapshot.volume_snapshot.id
7474
]
7575
}
@@ -84,8 +84,6 @@ The following arguments are supported:
8484
- `architecture` - (Optional, default `x86_64`) The architecture the image is compatible with. Possible values are: `x86_64` or `arm`.
8585
- `additional_volume_ids` - (Optional) List of IDs of the snapshots of the additional volumes to be attached to the image.
8686

87-
-> **Important:** For now it is only possible to have 1 additional_volume.
88-
8987
- `tags` - (Optional) A list of tags to apply to the image.
9088
- `public` - (Optional) Set to `true` if the image is public.
9189
- `zone` - (Defaults to provider `zone`) The [zone](../guides/regions_and_zones.md#zones) in which the image should be created.
@@ -119,11 +117,12 @@ In addition to all arguments above, the following attributes are exported:
119117
- `tags` - List of tags associated with the volume.
120118
- `state` - State of the volume.
121119
- `zone` - The [zone](../guides/regions_and_zones.md#zones) in which the volume is.
122-
- `server` - Description of the server containing the volume (in case the image is a backup from a server).
120+
121+
- `server` - Description of the server containing the volume (in case the image is a backup from a server).
123122

124123
-> The `server` block contains :
125-
- `id` - ID of the server containing the volume.
126-
- `name` - Name of the server containing the volume.
124+
- `id` - ID of the server containing the volume.
125+
- `name` - Name of the server containing the volume.
127126

128127
## Import
129128

0 commit comments

Comments
 (0)