github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/cloudstack/r/security_group.html.markdown (about)

     1  ---
     2  layout: "cloudstack"
     3  page_title: "CloudStack: cloudstack_security_group"
     4  sidebar_current: "docs-cloudstack-resource-security-group"
     5  description: |-
     6    Creates a security group.
     7  ---
     8  
     9  # cloudstack_security_group
    10  
    11  Creates a security group.
    12  
    13  ## Example Usage
    14  
    15  ```hcl
    16  resource "cloudstack_security_group" "default" {
    17    name        = "allow_web"
    18    description = "Allow access to HTTP and HTTPS"
    19  }
    20  ```
    21  
    22  ## Argument Reference
    23  
    24  The following arguments are supported:
    25  
    26  * `name` - (Required) The name of the security group. Changing this forces a
    27      new resource to be created.
    28  
    29  * `description` - (Optional) The description of the security group. Changing
    30      this forces a new resource to be created.
    31  
    32  * `project` - (Optional) The name or ID of the project to create this security
    33      group in. Changing this forces a new resource to be created.
    34  
    35  ## Attributes Reference
    36  
    37  The following attributes are exported:
    38  
    39  * `id` - The ID of the security group.