mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-25 05:00:19 -04:00
1.2 KiB
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, theOS_REGION_NAMEenvironment variable is used. Changing this creates a new security group. -
name- (Required) A unique name for the security group. Changing this updates thenameof an existing security group. -
description- (Required) A description for the security group. Changing this updates thedescriptionof 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.