Files
opentf/website/source/docs/providers/cloudstack/r/security_group.html.markdown
George Christou 61277c0dbd website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00

945 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
cloudstack CloudStack: cloudstack_security_group docs-cloudstack-resource-security-group Creates a security group.

cloudstack_security_group

Creates a security group.

Example Usage

resource "cloudstack_security_group" "default" {
  name        = "allow_web"
  description = "Allow access to HTTP and HTTPS"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the security group. Changing this forces a new resource to be created.

  • description - (Optional) The description of the security group. Changing this forces a new resource to be created.

  • project - (Optional) The name or ID of the project to create this security group in. Changing this forces a new resource to be created.

Attributes Reference

The following attributes are exported:

  • id - The ID of the security group.