Skip to content
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

fix(appbuilder): SAM local debugging: region and credential in launch config should override toolkit default #6011

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

roger-zhangg
Copy link
Member

Problem

fix #5957
Appbuilder added --region parameter to sam local invoke, however this region is always reading region prop from default toolkit connection. Ignoring region set in sam debug config.

Solution

region and credential set in sam debug config should override region and credential in current active toolkit connection.


License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

@roger-zhangg roger-zhangg requested a review from a team as a code owner November 13, 2024 22:49
@roger-zhangg roger-zhangg changed the title fix(appbuilder): region in debug config should override default toolkit region fix(appbuilder): SAM local debugging: region and credential in debug config should override toolkit default Nov 13, 2024
@roger-zhangg roger-zhangg changed the title fix(appbuilder): SAM local debugging: region and credential in debug config should override toolkit default fix(appbuilder): SAM local debugging: region and credential in launch config should override toolkit default Nov 13, 2024
@justinmk3 justinmk3 merged commit 4d8932e into aws:master Nov 14, 2024
10 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SAM regression: v3.31.0 does not use aws.credentials profile for local debugging
2 participants