alicloud_sag_client_user

Provides a Sag ClientUser resource. This topic describes how to manage accounts as an administrator. After you configure the network, you can create multiple accounts and distribute them to end users so that clients can access Alibaba Cloud.

For information about Sag ClientUser and how to use it, see What is Sag ClientUser.

Example Usage

Basic Usage

variable "name" {
  default = "tf-example"
}
variable "sag_id" {
  default = "sag-9bifkfaz4fg***"
}
provider "alicloud" {
  region = "cn-shanghai"
}

resource "alicloud_sag_client_user" "default" {
  sag_id    = var.sag_id
  bandwidth = "20"
  user_mail = "tf-example@abc.com"
  user_name = var.name
  password  = "example1234"
  client_ip = "192.1.10.0"
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Import

The Sag ClientUser can be imported using the name, e.g.

$ terraform import alicloud_sag_client_user.example sag-abc123456:tf-username-abc123456