Data Source: oci_core_shapes

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

Lists the shapes that can be used to launch an instance within the specified compartment. You can filter the list by compatibility with a specific image.

Example Usage

data "oci_core_shapes" "test_shapes" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	availability_domain = var.shape_availability_domain
	image_id = oci_core_image.test_image.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Shape Reference

The following attributes are exported: