Skip to content

testing fix for production release #71

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
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