diff --git a/.github/actions/run_task/action.yaml b/.github/actions/run_task/action.yaml index 45c17116..fba1687b 100644 --- a/.github/actions/run_task/action.yaml +++ b/.github/actions/run_task/action.yaml @@ -22,7 +22,7 @@ runs: - name: Setup AWS Credentials uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: ${{ secrets.AWS_ROLE_ARN }} + role-to-assume: ${{ inputs.role-to-assume }} aws-region: ${{ inputs.aws-region }} mask-aws-account-id: true - run: ${{ github.action_path }}/run_task.sh