alicloud_ram_group
Provides a RAM Group resource.
NOTE: When you want to destroy this resource forcefully(means remove all the relationships associated with it automatically and then destroy it) without set
force
withtrue
at beginning, you need addforce = true
to configuration file and runterraform plan
, then you can delete resource forcefully.
Example Usage
# Create a new RAM Group. resource "alicloud_ram_group" "group" { name = "test_group" comments = "this is a group comments." force = true }
Argument Reference
The following arguments are supported:
-
name
- (Required) 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 isfalse
.
Attributes Reference
The following attributes are exported:
Import
RAM group can be imported using the id or name, e.g.
$ terraform import alicloud_ram_group.example my-group
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/alicloud/r/ram_group.html