ibm_pi_images

Import the details of existing IBM Power Virtual Server Cloud images as a read-only data source. You can then reference the fields of the data source in other resources within the same configuration using interpolation syntax.

Example Usage

data "ibm_pi_images" "ds_images" {
  pi_cloud_instance_id = "49fba6c9-23f8-40bc-9899-aca322ee7d5b"
}

The following arguments are supported:

  • pi_cloud_instance_id - (Required, string) The service instance associated with the account

Attribute Reference

The following attributes are exported:

  • images - List of all images in the IBM Power Virtual Server Cloud.
    • name - The name for this image.
    • id - The unique identifier for this image
    • state - The state of the operating system.
    • href - The href of this image.