» Data Source: oci_mysql_mysql_configurations

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

Lists the Configurations available when creating a DB System.

This may include DEFAULT configurations per Shape and CUSTOM configurations.

The default sort order is a multi-part sort by: - shapeName, ascending - DEFAULT-before-CUSTOM - displayName ascending

» Example Usage

data "oci_mysql_mysql_configurations" "test_mysql_configurations" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    configuration_id = "${var.mysql_configuration_id}"
    display_name = "${var.mysql_configuration_display_name}"
    shape_name = "${var.mysql_shape_name}"
    state = "${var.mysql_configuration_state}"
    type = "${var.mysql_configuration_type}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The compartment OCID.
  • configuration_id - (Optional) The requested Configuration instance.
  • display_name - (Optional) A filter to return only the resource matching the given display name exactly.
  • shape_name - (Optional) The requested Shape name.
  • state - (Optional) Configuration Lifecycle State
  • type - (Optional) The requested Configuration types.

» Attributes Reference

The following attributes are exported:

» MysqlConfiguration Reference

The following attributes are exported: