alicloud_ram_user

Provides a RAM User resource.

For information about RAM User and how to use it, see What is User.

Example Usage

Basic Usage

# Create a new RAM user.
resource "alicloud_ram_user" "user" {
  name         = "terraform-example"
  display_name = "user_display_name"
  mobile       = "86-18688888888"
  email        = "hello.uuu@aaa.com"
  comments     = "yoyoyo"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

RAM User can be imported using the id, e.g.

$ terraform import alicloud_ram_user.example 123456789xxx