Skip to content

Commit 0774c15

Browse files
committed
Configure AWS credentials via IRSA
1 parent 21f4d9b commit 0774c15

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/drivers-tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ jobs:
225225
snowflake
226226
snowflake-encrypted-pk
227227
snowflake-export-bucket-s3
228-
snowflake-export-bucket-s3-iam-roles
228+
snowflake-export-bucket-s3-via-storage-integration-iam-roles
229229
snowflake-export-bucket-s3-prefix
230230
snowflake-export-bucket-azure
231231
snowflake-export-bucket-azure-prefix
@@ -260,7 +260,7 @@ jobs:
260260
- snowflake
261261
- snowflake-encrypted-pk
262262
- snowflake-export-bucket-s3
263-
- snowflake-export-bucket-s3-iam-roles
263+
- snowflake-export-bucket-s3-via-storage-integration-iam-roles
264264
- snowflake-export-bucket-s3-prefix
265265
- snowflake-export-bucket-azure
266266
- snowflake-export-bucket-azure-prefix
@@ -340,6 +340,14 @@ jobs:
340340
gunzip image.tar.gz
341341
docker load -i image.tar
342342
343+
- name: Configure AWS credentials via IRSA
344+
uses: aws-actions/configure-aws-credentials@v4
345+
with:
346+
role-to-assume: ${{ secrets.DRIVERS_TESTS_AWS_ROLE_ARN_FOR_SNOWFLAKE }}
347+
aws-region: us-west-1
348+
if: |
349+
env.DRIVERS_TESTS_ATHENA_CUBEJS_AWS_KEY != '' && matrix.database == 'snowflake-export-bucket-s3-via-storage-integration-iam-roles'
350+
343351
- name: Run tests
344352
uses: nick-fields/retry@v3
345353
# It's enough to test for any one secret because they are set all at once or not set all

0 commit comments

Comments
 (0)