Skip to content

Commit 8b0cd3e

Browse files
JSON plan
1 parent 2a6dbde commit 8b0cd3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
pwd
3838
ls -al /github/workspace/
3939
tfplan_location=$(find . -name "sandbox.tfplan")
40-
tfplan_contents=$(cat $tfplan_location)
40+
tfplan_json=$(terraform show -json $tfplan_location)
4141
echo "-------- PLAN --------"
42-
echo $tfplan_contents
42+
echo $tfplan_json
4343
echo "------ END PLAN ------"
4444
with:
4545
tf_version: '1.5.5'

0 commit comments

Comments
 (0)