Skip to content

Commit

Permalink
Fix incorrect replacements in output
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick committed Jul 30, 2021
1 parent 5544ae7 commit 6679b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand Down

0 comments on commit 6679b60

Please # to comment.