-
Notifications
You must be signed in to change notification settings - Fork 918
GODRIVER-3560 Use lambda-specific arn for FaaS #2093
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GODRIVER-3560 Use lambda-specific arn for FaaS #2093
Conversation
API Change ReportNo changes found! |
setup_group: | ||
- func: fetch-source | ||
- func: prepare-resources | ||
- func: assume-test-secrets-ec2-role |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nit] Just to clarify - is assume-test-secrets-ec2-role
removed to bump the duration to 3600? It is possible to define a variable for a function which is treated as expansions in the commands, so the duration could be parameterized in assume-test-secrets-ec2-role. Feel free to resolve - it is [nit].
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a global 3600ms exec_timeout_secs
. The issue was not extending the expansion with the env variables set by assuming the role. I will re-add this step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for the fix!
Variables: | ||
MONGODB_URI: !Ref MongoDbUri | ||
|
||
ApplicationResourceGroup: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolves GODRIVER-3557.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
GODRIVER-3560
Summary
Extend env variables from assuming role.
Background & Motivation
Evergreen CI for FaaS isn't tearing down the resulting Atlas cluster.