File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,11 @@ timeout:
2626 script : |
2727 ls -la
2828functions :
29- assume-test-secrets-ec2-role :
30- - command : ec2.assume_role
29+ assume-test-secrets-ec2-role :
30+ - command : ec2.assume_rol
3131 params :
3232 role_arn : ${aws_test_secrets_role}
33+ duration_seconds : ${ec2_assume_role_duration|3600}
3334
3435 fetch-source :
3536 # Executes clone and applies the submitted patch, if any
@@ -2361,10 +2362,7 @@ task_groups:
23612362 setup_group :
23622363 - func : fetch-source
23632364 - func : prepare-resources
2364- - command : ec2.assume_role
2365- params :
2366- role_arn : ${LAMBDA_AWS_ROLE_ARN}
2367- duration_seconds : 3600
2365+ - func : assume-test-secrets-ec2-role
23682366 - command : subprocess.exec
23692367 params :
23702368 working_dir : src/go.mongodb.org/mongo-driver
You can’t perform that action at this time.
0 commit comments