alicloud_config_rules

This data source provides the Config Rules of the current Alibaba Cloud user.

Example Usage

data "alicloud_config_rules" "example" {
  ids        = ["cr-ed4bad756057********"]
  name_regex = "tftest"
}

output "first_config_rule_id" {
  value = data.alicloud_config_rules.example.rules.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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