openstack_networking_secgroup_v2

Use this data source to get the ID of an available OpenStack security group.

Example Usage

data "openstack_networking_secgroup_v2" "secgroup" {
  name = "tf_test_secgroup"
}

Argument Reference

Attributes Reference

id is set to the ID of the found security group. In addition, the following attributes are exported: