» triton_network
The triton_network
data source queries Triton for Network information
(e.g., Network ID, etc.) based on the name of the Network.
» Example Usages
Find the Network ID of the Joyent-SDC-Private
network.
# Declare the data source.
data "triton_network" "private" {
name = "Joyent-SDC-Private"
}
# Access unique Network ID using output from the data source.
output "private_network_id" {
value = "${data.triton_network.private.id}"
}
» Argument Reference
The following arguments are supported:
-
name
- (string) Required. The name of the Network.
» Attribute Reference
The following attributes are supported: