Skip to content

Commit 5456867

Browse files
authored
Aws auth optional (#34)
1 parent f1ee039 commit 5456867

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ runs:
103103
104104
- name: Configure Plan AWS Credentials
105105
uses: aws-actions/configure-aws-credentials@v4
106+
if: ${{ steps.config.outputs.aws-region != '' &&
107+
steps.config.outputs.aws-region != 'null' &&
108+
steps.config.outputs.terraform-plan-role != '' &&
109+
steps.config.outputs.terraform-plan-role != 'null' }}
106110
with:
107111
aws-region: ${{ steps.config.outputs.aws-region }}
108112
role-to-assume: ${{ steps.config.outputs.terraform-plan-role }}

0 commit comments

Comments
 (0)