Read now works, and terraform directory contains example code
This commit is contained in:
1 parent
ef498e4a72
commit
a6f1019175
43 files changed
+4341
-38
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user