Skip to content

Commit

Permalink
Skip AWS auth if Gitops aws configuration empty in atmos settings
Browse files Browse the repository at this point in the history
  • Loading branch information
goruha committed Sep 19, 2024
1 parent 04d00d4 commit 8cbefd3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ runs:
cosmosEndpoint: ${{ steps.config.outputs.cosmos-endpoint }}

- name: Configure AWS Credentials
if: ${{ steps.config.outputs.aws-region != '' &&
if: ${{ env.ACTIONS_ENABLED == 'true' &&
steps.config.outputs.aws-region != '' &&
steps.config.outputs.aws-region != 'null' &&
steps.config.outputs.terraform-apply-role != '' &&
steps.config.outputs.terraform-apply-role != 'null' }}
Expand Down

0 comments on commit 8cbefd3

Please sign in to comment.