alicloud_resource_manager_resource_groups

This data source provides resource groups of the current Alibaba Cloud user.

Example Usage

Basic Usage

data "alicloud_resource_manager_resource_groups" "example" {
  name_regex = "tf"
}

output "first_resource_group_id" {
  value = data.alicloud_resource_manager_resource_groups.example.groups.0.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

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