From 6679b608805872d3c17234bf350719a73a4f40e3 Mon Sep 17 00:00:00 2001 From: Kyle Kotowick Date: Fri, 30 Jul 2021 17:04:04 -0400 Subject: [PATCH] Fix incorrect replacements in output --- outputs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/outputs.tf b/outputs.tf index 7089299..c0e7799 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,11 +1,11 @@ output "stdout" { // If it was in Linux, we must replace the magic string with quotes - value = local.is_windows ? local.stdout : replace(replace(local.stdout, "__TF_MAGIC_QUOTE_STRING", "\""), "__TF_MAGIC_NEWLINE_STRING", "\n") + value = local.stdout } output "stderr" { // If it was in Linux, we must replace the magic string with quotes - value = local.is_windows ? local.stderr : replace(replace(local.stderr, "__TF_MAGIC_QUOTE_STRING", "\""), "__TF_MAGIC_NEWLINE_STRING", "\n") + value = local.stderr } output "exitstatus" {