Read now works, and terraform directory contains example code

This commit is contained in:
Joachim Friberg committed 2026-08-25 18:58:03 +02:00
1 parent ef498e4a72
commit a6f1019175
43 files changed
+4341 -38

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
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
}