openstack_networking_subnet_v2

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

Example Usage

data "openstack_networking_subnet_v2" "subnet_1" {
  name = "subnet_1"
}

Argument Reference

Attributes Reference

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