Skip to content

Commit 84b23d6

Browse files
committed
INTPYTHON-622 Fix handling of assumed credentials
1 parent 3f05afa commit 84b23d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ functions:
5252
"assume role":
5353
- command: ec2.assume_role
5454
params:
55-
role_arn: ${assume_role_arn}
55+
role_arn: ${drivers_test_secrets_role}
5656

5757
"execute tests":
5858
- command: subprocess.exec
@@ -86,6 +86,7 @@ functions:
8686
pre_error_fails_task: true
8787
post_error_fails_task: true
8888
pre:
89+
- func: "assume role"
8990
- func: "fetch source"
9091
- func: "fetch secrets"
9192
post:
@@ -198,15 +199,13 @@ tasks:
198199
tags: [local]
199200
commands:
200201
- func: "fetch repo"
201-
- func: "assume role"
202202
- func: "setup local atlas"
203203
- func: "execute tests"
204204

205205
- name: test-pymongo-voyageai-remote
206206
tags: [remote]
207207
commands:
208208
- func: "fetch repo"
209-
- func: "assume role"
210209
- func: "setup remote atlas"
211210
- func: "execute tests"
212211

0 commit comments

Comments
 (0)