Data Source: oci_core_image_shape
This data source provides details about a specific Image Shape resource in Oracle Cloud Infrastructure Core service.
Retrieves an image shape compatibility entry.
Example Usage
data "oci_core_image_shape" "test_image_shape" {
#Required
image_id = oci_core_image.test_image.id
shape_name = oci_core_shape.test_shape.name
}
Argument Reference
The following arguments are supported:
image_id
- (Required) The OCID of the image.shape_name
- (Required) Shape name.
Attributes 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.