» jdcloud_network_security_group

Provides a JDCloud network security group

» Example Usage

resource "jdcloud_network_security_group" "sg-example" {
  network_security_group_name = "sg-example"
  vpc_id = "vpc-example"
}

» Argument Reference

The following arguments are supported:

» Attribute Reference

The following attributes are exported:

  • security_group_id : A string used to identify this security group, needed when attaching/detaching from a network interface

» Import

Existing security group can be imported to Terraform state by specifying the its id.

terraform import jdcloud_network_security_group.example sg-abc123456