Skip to content

Commit

Permalink
json decode output
Browse files Browse the repository at this point in the history
  • Loading branch information
luisffc committed Oct 16, 2023
1 parent ec59d74 commit cdbbb5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/ec2/describe_ec2_instances.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit cdbbb5c

Please sign in to comment.