terraform/website/source/docs/providers/openstack/r/compute_secgroup.html.markdown

926 B

layout page_title sidebar_current description
openstack OpenStack: openstack_compute_secgroup docs-openstack-resource-compute-secgroup Manages a security group resource within OpenStack.

openstack_compute_secgroup

Manages a security group resource within OpenStack.

Example Usage

resource "openstack_compute_secgroup" "secgroup_1" {
  name = "my_secgroup"
  description = "my security group"
}

Argument Reference

The following arguments are supported:

  • name - (Required) A unique name for the security group. Changing this updates the name of an existing security group.

  • description - (Required) A description for the security group. Changing this updates the description of an existing security group.

Attributes Reference

The following attributes are exported:

  • name - See Argument Reference above.
  • description - See Argument Reference above.