Skip to content

Commit

Permalink
Aws auth optional
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Sep 17, 2024
1 parent f1ee039 commit 7583285
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ runs:
- name: Configure Plan AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
if: ${{ steps.config.outputs.aws-region != '' &&
steps.config.outputs.aws-region != 'null' &&
steps.config.outputs.terraform-plan-role != '' &&
steps.config.outputs.terraform-plan-role != 'null' }}
with:
aws-region: ${{ steps.config.outputs.aws-region }}
role-to-assume: ${{ steps.config.outputs.terraform-plan-role }}
Expand Down

0 comments on commit 7583285

Please sign in to comment.