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:
image_id
- (Required) The OCID of the image.
Attributes Reference
The following attributes are exported:
image_shape_compatibilities
- The list of image_shape_compatibilities.
ImageShape Reference
The following attributes are exported:
image_id
- The image OCID.memory_constraints
- For a flexible image and shape, the amount of memory supported for instances that use this image.max_in_gbs
- The maximum amount of memory, in gigabytes.min_in_gbs
- The minimum amount of memory, in gigabytes.
ocpu_constraints
- OCPU options for an image and shape.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.