Provides a Security Center Group resource.
For information about Security Center Group and how to use it, see What is Group.
Basic Usage
variable "name" {
default = "tf_example"
}
resource "alicloud_security_center_group" "example" {
group_name = var.name
}
The following arguments are supported:
group_id
- (Optional, ForceNew) GroupId.group_name
- (Optional) GroupName.The following attributes are exported:
id
- The resource ID in terraform of Group. Its value is same as group_id
.The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 1 mins) Used when create the Security Center Group.update
- (Defaults to 1 mins) Used when update the Security Center Group.delete
- (Defaults to 1 mins) Used when delete the Security Center Group.Security Center Group can be imported using the id, e.g.
$ terraform import alicloud_security_center_group.example <group_id>