exoscale_private_network (Data Source)
Fetch Exoscale Private Networks data.
Corresponding resource: exoscale_private_network.
Example Usage
data "exoscale_private_network" "my_private_network" {
zone = "ch-gva-2"
name = "my-private-network"
}
output "my_private_network_id" {
value = data.exoscale_private_network.my_private_network.id
}
Please refer to the examples directory for complete configuration examples.
Schema
Required
zone
(String) The Exoscale Zone name.
Optional
description
(String) The private network description.id
(String) The private network ID to match (conflicts withname
).labels
(Map of String) A map of key/value labels.name
(String) The network name to match (conflicts withid
).
Read-Only
end_ip
(String) The first/last IPv4 addresses used by the DHCP service for dynamic leases.netmask
(String) The network mask defining the IPv4 network allowed for static leases.start_ip
(String) The first/last IPv4 addresses used by the DHCP service for dynamic leases.