Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions terraform-plan/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ runs:
echo "changes-detected=false" >> $GITHUB_OUTPUT
fi

- name: Encrypt Plan File
uses: dvsa/cvs-github-actions/aws-encrypt@develop
if: ${{ inputs.encryption-key != '' }}
with:
action: encrypt
encryption-key: ${{ inputs.encryption-key }}
file: terraform.tfplan
# - name: Encrypt Plan File
# uses: dvsa/cvs-github-actions/aws-encrypt@develop
# if: ${{ inputs.encryption-key != '' }}
# with:
# action: encrypt
# encryption-key: ${{ inputs.encryption-key }}
# file: terraform.tfplan

- name: 📝 Upload Plan
uses: actions/upload-artifact@v4
with:
name: plan-${{ github.run_id }}
path: |
plan.txt
terraform.tfplan.encrypted
terraform.tfplan
retention-days: ${{ inputs.plan-retention }}

- name: 🔓 Unlock State File
Expand Down