alicloud_resource_manager_roles

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

Example Usage

data "alicloud_resource_manager_roles" "example" {
  name_regex = "tftest"
}

output "first_role_id" {
  value = "${data.alicloud_resource_manager_roles.example.roles.0.id}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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