File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -417,7 +417,10 @@ runs:
417417 set -e
418418
419419 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
421424 terraform-docs -c ${GITHUB_ACTION_PATH}/config/tfdocs-config.yaml --output-file ${{ github.workspace }}/atmos-apply-summary.md ./
422425
423426 sed -i "s#\`<sensitive>\`##g" ${{ github.workspace }}/atmos-apply-summary.md
You can’t perform that action at this time.
0 commit comments