Closed lpdon closed 1 year ago
Hi @lpdon ,
Thanks for opening this issue. Can you please add the code necassary for us to reproduce this? Which version did you upgrade to and from?
Thanks, Ran~
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.
Describe the bug
After bumping the SDK version, for some reason I'm reaching this line. My very fast guess is that a variable declaration is missing there when using the STS code as reference
https://github.com/aws/aws-sdk-js/blob/ac661ffad7cc83bc17825e585c57d9565a127957/lib/services/s3.js#L281
vs
https://github.com/aws/aws-sdk-js/blob/ac661ffad7cc83bc17825e585c57d9565a127957/lib/services/sts.js#L79
Expected Behavior
No exception thrown.
Current Behavior
(not full stack trace due to internal company code)
Reproduction Steps
Any combination that enters the if block with the line.
Possible Solution
Declaring a variable for regionalEndpoint
Additional Information/Context
This wasn't a problem with version 2.1101.0 though
SDK version used
2.1444.0
Environment details (OS name and version, etc.)
Lambda AL2 with Node environment