You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using set shell to run scripts/tests that use was-sdkV3 clients e.g. @aws-sdk/client-dynamodb I run into this already documented error from the sdk package aws/aws-sdk-js-v3#2549
This appears to be being caused by the AWS_PROFILE value being passed through to the script from set shell. This has been validated to be the case with:
sst shell printenv
I assume that in SST V2 the AWS_PROFILE was not passed to the sub command of sst bind?
There is a user land work around as referenced in the thread above:
When using
set shell
to run scripts/tests that usewas-sdkV3
clients e.g.@aws-sdk/client-dynamodb
I run into this already documented error from the sdk package aws/aws-sdk-js-v3#2549This appears to be being caused by the
AWS_PROFILE
value being passed through to the script fromset shell
. This has been validated to be the case with:I assume that in SST V2 the
AWS_PROFILE
was not passed to the sub command ofsst bind
?There is a user land work around as referenced in the thread above:
This resolves the issue but feels less than ideal.
The text was updated successfully, but these errors were encountered: