Files
hp-iac/terraform/outputs.tf
T

22 lines
576 B
Terraform

output "system_description" {
description = "Everything read back from the switch's System Description page."
value = data.hpe1810_system_description.this
}
output "system_name" {
value = data.hpe1810_system_description.this.name
}
output "port_summary" {
value = data.hpe1810_port_summary.this.ports
}
output "port_24" {
description = "The uplink port -- verifying it's readable without touching it."
value = [for p in data.hpe1810_port_summary.this.ports : p if p.Interface == "24"]
}
output "mac_table" {
value = data.hpe1810_mac_table.this
}