Data Source: oci_mysql_replicas

This data source provides the list of Replicas in Oracle Cloud Infrastructure MySQL Database service.

Lists all the read replicas that match the specified filters.

Example Usage

data "oci_mysql_replicas" "test_replicas" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	configuration_id = oci_mysql_mysql_configuration.test_mysql_configuration.id
	db_system_id = oci_mysql_mysql_db_system.test_mysql_db_system.id
	display_name = var.replica_display_name
	is_up_to_date = var.replica_is_up_to_date
	replica_id = oci_mysql_replica.test_replica.id
	state = var.replica_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Replica Reference

The following attributes are exported: