» Data Source: oci_mysql_shapes

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

Gets a list of the shapes you can use to create a new MySQL DB System. The shape determines the resources allocated to the DB System: CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes.

» Example Usage

data "oci_mysql_shapes" "test_shapes" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    availability_domain = "${var.shape_availability_domain}"
    name = "${var.shape_name}"
}

» Argument Reference

The following arguments are supported:

» Attributes Reference

The following attributes are exported:

  • shapes - The list of shapes.

» Shape Reference

The following attributes are exported:

  • cpu_core_count - The number of CPU Cores the Instance provides. These are "OCPU"s.
  • memory_size_in_gbs - The amount of RAM the Instance provides. This is an IEC base-2 number.
  • name - The name of the shape used for the DB System.