Provides a Cloudauth Face Config resource.
For information about Cloudauth Face Config and how to use it, see What is Face Config.
Basic Usage
variable "name" {
default = "tf_example"
}
provider "alicloud" {
region = "cn-hangzhou"
}
resource "random_integer" "default" {
max = 99999
min = 10000
}
resource "alicloud_cloudauth_face_config" "example" {
biz_name = format("%s-biz", var.name)
biz_type = format("type-%s", random_integer.default.result)
}
The following arguments are supported:
biz_name
- (Required) Scene name.biz_type
- (Required) Scene type. NOTE: The biz_type cannot exceed 32 characters and can only use English letters, numbers and dashes (-).The following attributes are exported:
id
- The resource ID in terraform of Face Config. Its value is same as biz_type
.gmt_modified
- Last Modified Date.Cloudauth Face Config can be imported using the id, e.g.
$ terraform import alicloud_cloudauth_face_config.example <lang>