From cdbbb5cdc79bc609597e8e3b084dfc98df940374 Mon Sep 17 00:00:00 2001 From: luis cavalcante Date: Mon, 16 Oct 2023 17:51:49 +0800 Subject: [PATCH] json decode output --- pipelines/ec2/describe_ec2_instances.hcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipelines/ec2/describe_ec2_instances.hcl b/pipelines/ec2/describe_ec2_instances.hcl index 8c6eaa8..c143bb4 100644 --- a/pipelines/ec2/describe_ec2_instances.hcl +++ b/pipelines/ec2/describe_ec2_instances.hcl @@ -44,9 +44,9 @@ pipeline "describe_ec2_instances" { } } output "stdout" { - value = step.container.container_run_aws.stdout + value = jsondecode(step.container.container_run_aws.stdout) } output "stderr" { - value = step.container.container_run_aws.stderr + value = jsondecode(step.container.container_run_aws.stderr) } }