Provides a RAM cloud account alias.
variable "name" {
default = "tfexample"
}
resource "alicloud_ram_account_alias" "alias" {
account_alias = var.name
}
The following arguments are supported:
account_alias
- (Required, ForceNew) Alias of cloud account. This name can have a string of 3 to 32 characters, must contain only alphanumeric characters or hyphens, such as "-", and must not begin with a hyphen.The following attributes are exported:
id
- The account alias ID, it's set to account_alias
.RAM account alias can be imported using the id, e.g.
$ terraform import alicloud_ram_account_alias.example my-alias