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

     1  ---
     2  layout: "scaleway"
     3  page_title: "Scaleway: security_group"
     4  sidebar_current: "docs-scaleway-resource-security_group"
     5  description: |-
     6    Manages Scaleway security groups.
     7  ---
     8  
     9  # scaleway\_security\_group
    10  
    11  Provides security groups. This allows security groups to be created, updated and deleted.
    12  For additional details please refer to [API documentation](https://developer.scaleway.com/#security-groups).
    13  
    14  ## Example Usage
    15  
    16  ```hcl
    17  resource "scaleway_security_group" "test" {
    18    name        = "test"
    19    description = "test"
    20  }
    21  ```
    22  
    23  ## Argument Reference
    24  
    25  The following arguments are supported:
    26  
    27  * `name` - (Required) name of security group
    28  * `description` - (Required) description of security group
    29  
    30  Field `name`, `description` are editable.
    31  
    32  ## Attributes Reference
    33  
    34  The following attributes are exported:
    35  
    36  * `id` - id of the new resource
    37  
    38  ## Import
    39  
    40  Instances can be imported using the `id`, e.g.
    41  
    42  ```
    43  $ terraform import scaleway_security_group.test 5faef9cd-ea9b-4a63-9171-9e26bec03dbc
    44  ```