» Data Source: oci_core_image_shapes

This data source provides the list of Image Shapes in Oracle Cloud Infrastructure Core service.

Lists the compatible shapes for the specified image.

» Example Usage

data "oci_core_image_shapes" "test_image_shapes" {
    #Required
    image_id = "${oci_core_image.test_image.id}"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

» ImageShape Reference

The following attributes are exported:

  • image_id - The image OCID.
  • ocpu_constraints -
    • max - The maximum number of OCPUs supported for this image and shape.
    • min - The minimum number of OCPUs supported for this image and shape.
  • shape - The shape name.