This data source provides the list of Replication Sources in Oracle Cloud Infrastructure Object Storage service.
List the replication sources of a destination bucket.
data "oci_objectstorage_replication_sources" "test_replication_sources" {
#Required
bucket = var.replication_source_bucket
namespace = var.replication_source_namespace
}
The following arguments are supported:
bucket
- (Required) The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
namespace
- (Required) The Object Storage namespace used for the request.The following attributes are exported:
replication_sources
- The list of replication_sources.The following attributes are exported:
policy_name
- The name of the policy.source_bucket_name
- The source bucket replicating data from.source_region_name
- The source region replicating data from, for example "us-ashburn-1".