» alicloud_resource_manager_resource_group

Provides a Resource Manager Resource Group resource. If you need to group cloud resources according to business departments, projects, and other dimensions, you can create resource groups. For information about Resource Manager Resoource Group and how to use it, see What is Resource Manager Resource Group

» Example Usage

Basic Usage

resource "alicloud_resource_manager_resource_group" "example" {
        name         = "testrd"
        display_name = "testrd" 

» Argument Reference

The following arguments are supported:

  • name - (Required, ForceNew) The unique identifier of the resource group.The identifier must be 3 to 12 characters in length and can contain letters, digits, periods (.), hyphens (-), and underscores (_). The identifier must start with a letter.
  • display_name - (Required) The display name of the resource group. The name must be 1 to 30 characters in length and can contain letters, digits, periods (.), at signs (@), and hyphens (-).

» Attributes Reference

  • id - The ID of the resource group.
  • status - The status of the resource group.
  • account_id - The ID of the Alibaba Cloud account to which the resource group belongs.
  • create_date - The time when the resource group was created.
  • region_statuses -The status of the resource group in all regions.
    • region_id - The region ID.
    • status - The status of the regional resource group.

» Import

Resource Manager Resource Group can be imported using the id, e.g.

$ terraform import alicloud_resource_manager_resource_group.example abc123456