File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,10 @@ runs:
417
417
set -e
418
418
419
419
cat "${TERRAFORM_OUTPUT_FILE}"
420
- atmos terraform output ${{ inputs.component }} --stack ${{ inputs.stack }} --skip-init -- -json | grep -v 'Switched to workspace' 1> output_values.json
420
+ atmos terraform output ${{ inputs.component }} --stack ${{ inputs.stack }} --skip-init -- -json -compact-warnings -no-color | \
421
+ grep -v 'Switched to workspace' | \
422
+ awk '$1~/^Warnings:$/ {exit} {print}' | \
423
+ grep -v 'WARN detected' 1> output_values.json
421
424
terraform-docs -c ${GITHUB_ACTION_PATH}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./
422
425
423
426
sed -i "s#\`<sensitive>\`##g" ${{ github.workspace }}/atmos-apply-summary.md
You can’t perform that action at this time.
0 commit comments