W3cubDocs

/Terraform

scaleway_security_group

Provides security groups. This allows security groups to be created, updated and deleted. For additional details please refer to API documentation.

Example Usage

resource "scaleway_security_group" "test" {
  name                    = "test"
  description             = "test"
  enable_default_security = true
}

Argument Reference

The following arguments are supported:

Field name, description are editable.

Attributes Reference

The following attributes are exported:

  • id - id of the new resource

Import

Instances can be imported using the id, e.g.

$ terraform import scaleway_security_group.test 5faef9cd-ea9b-4a63-9171-9e26bec03dbc

© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/scaleway/r/security_group.html