37 lines
823 B
Markdown
37 lines
823 B
Markdown
|
---
|
||
|
layout: "scaleway"
|
||
|
page_title: "Scaleway: security_group"
|
||
|
sidebar_current: "docs-scaleway-resource-security_group"
|
||
|
description: |-
|
||
|
Manages Scaleway security groups.
|
||
|
---
|
||
|
|
||
|
# scaleway\security_group
|
||
|
|
||
|
Provides security groups. This allows security groups to be created, updated and deleted.
|
||
|
For additional details please refer to [API documentation](https://developer.scaleway.com/#security-groups).
|
||
|
|
||
|
## Example Usage
|
||
|
|
||
|
```
|
||
|
resource "scaleway_security_group" "test" {
|
||
|
name = "test"
|
||
|
description = "test"
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Argument Reference
|
||
|
|
||
|
The following arguments are supported:
|
||
|
|
||
|
* `name` - (Required) name of security group
|
||
|
* `description` - (Required) description of security group
|
||
|
|
||
|
Field `name`, `description` are editable.
|
||
|
|
||
|
## Attributes Reference
|
||
|
|
||
|
The following attributes are exported:
|
||
|
|
||
|
* `id` - id of the new resource
|