@@ -69,7 +69,7 @@ resource "scaleway_instance_snapshot" "server_snapshot" {
6969resource "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