Files
opentf/website/source/docs/providers/openstack/r/compute_secgroup_v2.html.markdown
2015-03-31 09:54:46 -06:00

1.2 KiB

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
openstack OpenStack: openstack_compute_secgroup_v2 docs-openstack-resource-compute-secgroup-2 Manages a V2 security group resource within OpenStack.

openstack_compute_secgroup_v2

Manages a V2 security group resource within OpenStack.

Example Usage

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

Argument Reference

The following arguments are supported:

  • region - (Required) The region in which to obtain the V2 Compute client. A Compute client is needed to create a security group. If omitted, the OS_REGION_NAME environment variable is used. Changing this creates a new security group.

  • 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:

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