Skip to content

Commit

Permalink
Add ENC passphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
ntse committed Dec 6, 2024
1 parent 9c52fc4 commit 7e22ecb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/_test-terraform-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ jobs:
REPO_SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
AWS_ACCOUNT_ID: ${{ secrets.TEST_AWS_ACCOUNT_ID }}
AWS_ROLE_NAME: ${{ secrets.TEST_AWS_ROLE_NAME }}
TF_MODULES_SSH_DEPLOY_KEY: ${{ secrets.TF_MODULES_SSH_DEPLOY_KEY }}
TF_MODULES_SSH_DEPLOY_KEY: ${{ secrets.TF_MODULES_SSH_DEPLOY_KEY }}
TF_PLAN_ENCRYPTION_PASSPHRASE: ${{ secrets.TF_PLAN_ENCRYPTION_PASSPHRASE }}
3 changes: 2 additions & 1 deletion .github/workflows/_test-terraform-plan-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ jobs:
REPO_SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
AWS_ACCOUNT_ID: ${{ secrets.TEST_AWS_ACCOUNT_ID }}
AWS_ROLE_NAME: ${{ secrets.TEST_AWS_ROLE_NAME }}
TF_MODULES_SSH_DEPLOY_KEY: ${{ secrets.TF_MODULES_SSH_DEPLOY_KEY }}
TF_MODULES_SSH_DEPLOY_KEY: ${{ secrets.TF_MODULES_SSH_DEPLOY_KEY }}
TF_PLAN_ENCRYPTION_PASSPHRASE: ${{ secrets.TF_PLAN_ENCRYPTION_PASSPHRASE }}
5 changes: 4 additions & 1 deletion .github/workflows/terraform-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ on:
SSH_DEPLOY_KEY:
required: false
description: "Deprecated: Use either TF_MODULES_SSH_DEPLOY_KEY or REPO_SSH_DEPLOY_KEY instead."

TF_PLAN_ENCRYPTION_PASSPHRASE:
required: true
description: "The passphrase used to encrypt Terraform Plans before uploading them as Github Artifacts"

jobs:
define_matrix:
name: Define directory matrix for destroy
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/terraform-plan-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ on:
SSH_DEPLOY_KEY:
required: false
description: "Deprecated: Use either TF_MODULES_SSH_DEPLOY_KEY or REPO_SSH_DEPLOY_KEY instead."
TF_PLAN_ENCRYPTION_PASSPHRASE:
required: true
description: "The passphrase used to encrypt Terraform Plans before uploading them as Github Artifacts"


jobs:
define_matrix:
Expand Down

0 comments on commit 7e22ecb

Please sign in to comment.