diff --git a/.github/workflows/aws-batch-integration-tests.yaml b/.github/workflows/aws-batch-integration-tests.yaml index 8643cb978..c86cb57d1 100644 --- a/.github/workflows/aws-batch-integration-tests.yaml +++ b/.github/workflows/aws-batch-integration-tests.yaml @@ -23,14 +23,14 @@ jobs: - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1.6.1 with: - aws-region: us-west-2 - role-to-assume: ${{ secrets.AWS_ROLE_ARN }} + aws-region: us-west-1 + role-to-assume: ${{ secrets.TF_AWS_ROLE_ARN }} role-session-name: github-torchx continue-on-error: true - name: Configure Docker run: | set -eux - aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin 495572122715.dkr.ecr.us-west-2.amazonaws.com + aws ecr get-login-password --region us-west-1 | docker login --username AWS --password-stdin 495572122715.dkr.ecr.us-west-1.amazonaws.com continue-on-error: true - name: Install dependencies run: | @@ -38,7 +38,7 @@ jobs: pip install -e .[dev] - name: Run AWS Batch Integration Tests env: - AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }} + AWS_ROLE_ARN: ${{ secrets.TF_AWS_ROLE_ARN }} run: | set -ex diff --git a/scripts/awsbatchint.sh b/scripts/awsbatchint.sh index fb6abfbea..3610eb76d 100755 --- a/scripts/awsbatchint.sh +++ b/scripts/awsbatchint.sh @@ -21,7 +21,7 @@ cd "$DIR" cat < .torchxconfig [aws_batch] queue=torchx -image_repo=495572122715.dkr.ecr.us-west-2.amazonaws.com/torchx/integration-tests +image_repo=495572122715.dkr.ecr.us-west-1.amazonaws.com/torchx/integration-tests EOT cat < main.py