» alicloud_ram_group

Provides a RAM Group resource.

» Example Usage

# Create a new RAM Group.
resource "alicloud_ram_group" "group" {
  name     = "groupName"
  comments = "this is a group comments."
  force    = true
}

» Argument Reference

The following arguments are supported:

  • name - (Required, ForceNew) Name of the RAM group. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphen "-", and must not begin with a hyphen.
  • comments - (Optional) Comment of the RAM group. This parameter can have a string of 1 to 128 characters.
  • force - (Optional) This parameter is used for resource destroy. Default value is false.

» Attributes Reference

The following attributes are exported:

  • id - The group ID.
  • name - The group name.
  • comments - The group comments.

» Import

RAM group can be imported using the id or name, e.g.

$ terraform import alicloud_ram_group.example my-group