文档

alicloud_security_center_group

更新时间:
一键部署

Provides a Security Center Group resource.

For information about Security Center Group and how to use it, see What is Group.

-> NOTE: Available since v1.133.0.

Example Usage

Basic Usage

variable "name" {
  default = "tf_example"
}
resource "alicloud_security_center_group" "example" {
  group_name = var.name
}

Argument Reference

The following arguments are supported:

  • group_id - (Optional, ForceNew) GroupId.
  • group_name - (Optional) GroupName.

Attributes Reference

The following attributes are exported:

  • id - The resource ID in terraform of Group. Its value is same as group_id.

Timeouts

-> NOTE: Available since v1.163.0.

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.

Import

Security Center Group can be imported using the id, e.g.

$ terraform import alicloud_security_center_group.example <group_id>

  • 本页导读 (0)
文档反馈