alicloud_ens_security_group

Provides a ENS Security Group resource.

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

Example Usage

Basic Usage

variable "name" {
  default = "terraform-example"
}

resource "alicloud_ens_security_group" "default" {
  description         = var.name
  security_group_name = var.name
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

Import

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

$ terraform import alicloud_ens_security_group.example <id>