» scaleway_instance_image

Gets information about an instance image.

» Example Usage

// Get info by image name
data "scaleway_instance_image" "my_image" {
  name  = "my-image-name"
}

// Get info by image id
data "scaleway_instance_image" "my_image" {
  image_id = "11111111-1111-1111-1111-111111111111"
}

» Argument Reference

  • name - (Optional) The image name. Only one of name and image_id should be specified.

  • image_id - (Optional) The image id. Only one of name and image_id should be specified.

  • architecture - (Optional, default x86_64) The architecture the image is compatible with. Possible values are: x86_64 or arm.

  • latest - (Optional, default true) Use the latest image ID.

  • zone - (Defaults to provider zone) The zone in which the image exists.

» Attributes Reference

In addition to all above arguments, the following attributes are exported: