Skip to content

Commit

Permalink
Adding patch option to tfcmt when pr.comment is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
jamengual committed Nov 29, 2024
1 parent 4ff435f commit eed8ff9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ runs:
-var "driftModeEnabled:${{ inputs.drift-detection-mode-enabled }}" \
$([[ "${{ inputs.pr-comment }}" == "false" ]] && echo "--output ${{ steps.vars.outputs.summary_file }}") \
--log-level $([[ "${{ inputs.debug }}" == "true" ]] && echo "DEBUG" || echo "INFO") \
plan -- \
$([[ "${{ inputs.pr-comment }}" == "true" ]] && echo "-patch") \
plan \
$([[ "${{ inputs.pr-comment }}" == "true" ]] && echo "-patch") \
-- \
atmos terraform plan ${{ inputs.component }} \
--stack ${{ inputs.stack }} \
-out="${{ steps.vars.outputs.plan_file }}" \
Expand Down

0 comments on commit eed8ff9

Please sign in to comment.