Skip to content

Conversation

@bchampp
Copy link
Member

@bchampp bchampp commented Dec 3, 2025

Which issue(s) does this change fix?

Why is this change necessary?

We create an instance of a botocore lambda client to interact between the CLI commands and the durable executions emulator. However, if a customer doesn't have any AWS credentials set through any credential provider, API calls using the boto client will fail with Unable to locate credentials.

How does it address the issue?

Adding a set of mock credentials passed to the .create() classmethod. This is only used by the emulator when it creates a lambda client.

What side effects does this change have?

None.

Mandatory Checklist

PRs will only be reviewed after checklist is complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@bchampp bchampp requested a review from a team as a code owner December 3, 2025 07:08
@github-actions github-actions bot added pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Dec 3, 2025
@valerena valerena changed the title fix: set mock credentials for emulator boto client fix: set mock credentials for durable emulator boto client Dec 3, 2025
@valerena valerena added this pull request to the merge queue Dec 3, 2025
Merged via the queue into aws:develop with commit 4cb46c0 Dec 3, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants