Commit 2735257f by chenxx

change output node_name 2

1 parent d4ec1d35
......@@ -15,5 +15,5 @@ output "ingress" {
output "pod_in_node_name" {
description = "pod所在node的名字"
value = data.kubernetes_pod.pods_info.spec.node_name
value = data.kubernetes_pod.pods_info.spec.*.node_name
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!