From a3ea578f834ac6197aa7e8f480ebd74e435c7cfd Mon Sep 17 00:00:00 2001 From: Hector Huertas Date: Tue, 26 May 2020 15:05:16 +0200 Subject: [PATCH] Add directories outputs (#127) --- outputs.tf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/outputs.tf b/outputs.tf index 544853c..cdb12b5 100644 --- a/outputs.tf +++ b/outputs.tf @@ -27,6 +27,10 @@ output "cfssl_ignition_files" { value = data.ignition_config.cfssl.files } +output "cfssl_ignition_directories" { + value = data.ignition_config.cfssl.directories +} + output "master_ignition_systemd" { value = data.ignition_config.master.systemd } @@ -35,6 +39,10 @@ output "master_ignition_files" { value = data.ignition_config.master.files } +output "master_ignition_directories" { + value = data.ignition_config.master.directories +} + output "worker_ignition_systemd" { value = data.ignition_config.worker.systemd } @@ -43,6 +51,10 @@ output "worker_ignition_files" { value = data.ignition_config.worker.files } +output "worker_ignition_directories" { + value = data.ignition_config.worker.directories +} + output "storage_node_ignition_systemd" { value = data.ignition_config.storage-node.systemd } @@ -51,6 +63,10 @@ output "storage_node_ignition_files" { value = data.ignition_config.storage-node.files } +output "storage_node_ignition_directories" { + value = data.ignition_config.storage-node.directories +} + output "etcd_ignition_systemd" { value = data.ignition_config.etcd.*.systemd } @@ -58,3 +74,7 @@ output "etcd_ignition_systemd" { output "etcd_ignition_files" { value = data.ignition_config.etcd.*.files } + +output "etcd_ignition_directories" { + value = data.ignition_config.etcd.*.directories +}