From c68ca02018640402d46086a52415edbcd0089d61 Mon Sep 17 00:00:00 2001 From: Lukas Greve Date: Wed, 10 Sep 2025 20:54:10 +0200 Subject: [PATCH] add another output, but does not seem to return anything for the moment --- multiple/shared_modules/outputs.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/multiple/shared_modules/outputs.tf b/multiple/shared_modules/outputs.tf index ed6bd4a..d0b4c4c 100644 --- a/multiple/shared_modules/outputs.tf +++ b/multiple/shared_modules/outputs.tf @@ -38,3 +38,7 @@ output "volume_ids" { output "instance_count" { value = var.instance_count } + +output "cloud_init_rendered" { + value = templatefile("${path.module}/cloud_init.yaml", {ssh_key = var.ssh_key}) +} \ No newline at end of file