openstack_images_image_v2

Use this data source to get the ID of an available OpenStack image.

Example Usage

data "openstack_images_image_v2" "ubuntu" {
  name        = "Ubuntu 16.04"
  most_recent = true

  properties = {
    key = "value"
  }
}

Argument Reference

Attributes Reference

id is set to the ID of the found image. In addition, the following attributes are exported: