subcategory | layout | page_title | sidebar_current | description |
---|---|---|---|---|
Cloud Log Service(CLS) |
tencentcloud |
TencentCloud: tencentcloud_cls_logset |
docs-tencentcloud-resource-cls_logset |
Provides a resource to create a CLS logset |
Provides a resource to create a CLS logset
resource "tencentcloud_cls_logset" "example" {
logset_name = "tf-example"
tags = {
createdBy = "Terraform"
}
}
The following arguments are supported:
logset_name
- (Required, String) Logset name, which must be unique.tags
- (Optional, Map) Tag description list.
In addition to all arguments above, the following attributes are exported:
id
- ID of the resource.create_time
- Creation time.role_name
- If assumer_uin is not empty, it indicates the service provider who creates the logset.topic_count
- Number of log topics in logset.
CLS logset can be imported using the id, e.g.
$ terraform import tencentcloud_cls_logset.example 698902ff-8b5a-4c65-824b-d8956f366351