alicloud_ram_policies

This data source provides a list of RAM policies in an Alibaba Cloud account according to the specified filters.

Example Usage

data "alicloud_ram_policies" "policies_ds" {
  output_file = "policies.txt"
  user_name   = "user1"
  group_name  = "group1"
  type        = "System"
}

output "first_policy_name" {
  value = "${data.alicloud_ram_policies.policies_ds.policies.0.name}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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