consul_network_segments

The consul_network_segment data source can be used to retrieve the network segments defined in the configuration.

Example Usage

data "consul_network_segments" "segments" {}

output "segments" {
  value = data.consul_network_segments.segments.segments
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported: