alicloud_resource_manager_policies

This data source provides the Resource Manager Policies of the current Alibaba Cloud user.

Example Usage

data "alicloud_resource_manager_policies" "example" {
  name_regex        = "tftest"
  description_regex = "tftest_policy"
  policy_type       = "Custom"
}

output "first_policy_id" {
  value = "${data.alicloud_resource_manager_policies.example.policies.0.id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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