alicloud_cr_ee_sync_rules

This data source provides a list Container Registry Enterprise Edition sync rules on Alibaba Cloud.

Example Usage

# Declare the data source
data "alicloud_cr_ee_sync_rules" "my_sync_rules" {
  instance_id = "cri-xxx"
  namespace_name = "test-namespace"
  repo_name = "test-repo"
  target_instance_id = "cri-yyy"
  name_regex = "test-rule"
}

output "output" {
  value = data.alicloud_cr_ee_sync_rules.my_sync_rules.rules.*.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported in addition to the arguments listed above: