alicloud_ram_groups

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

Example Usage

data "alicloud_ram_groups" "groups_ds" {
  output_file = "groups.txt"
  user_name   = "user1"
  name_regex  = "^group[0-9]*"
}

output "first_group_name" {
  value = "${data.alicloud_ram_groups.groups_ds.groups.0.name}"
}

Argument Reference

The following arguments are supported:

Attributes Reference

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