-
Notifications
You must be signed in to change notification settings - Fork 621
Closed
Labels
bugThis issue is a bug.This issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.p1This is a high priority issueThis is a high priority issuepotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
We ran into an error on Lambda when we bumped up our credential-providers package to 3.730.0.
err: {
message: `credentials` is missing
stack: Error: `credentials` is missing
at credentialsProvider (/var/task/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js:211:15)
at boundCredentialsProvider (/var/task/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js:215:71)
at /var/task/node_modules/@smithy/core/dist-cjs/index.js:85:23
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /var/task/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
at async /var/task/node_modules/@aws-sdk/credential-providers/dist-cjs/fromTemporaryCredentials.js:50:33
at async coalesceProvider (/var/task/node_modules/@smithy/core/dist-cjs/index.js:368:18)
at async /var/task/node_modules/@smithy/core/dist-cjs/index.js:386:18
at async /var/task/node_modules/@smithy/core/dist-cjs/index.js:85:17
at async /var/task/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
type: Error
}
I couldn't quite spot much in the diff: https://npmdiff.dev/%40aws-sdk%2Fcredential-providers/3.729.0/3.730.0/
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
Node 20.18.0, Node 22.
Reproduction Steps
https://github.com/samchungy/aws-credentials-provider-bug
Observed Behavior
fromTemporaryCredentials
throws an error
Expected Behavior
It should not throw an error when using fromTemporaryCredentials
Possible Solution
No response
Additional Information/Context
No response
zbrydon, 72636c, AhmedMagedElhawary, tadhglewis, ahmadfaris and 2 more
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.closing-soonThis issue will automatically close in 4 days unless further comments are made.This issue will automatically close in 4 days unless further comments are made.p1This is a high priority issueThis is a high priority issuepotential-regressionMarking this issue as a potential regression to be checked by team memberMarking this issue as a potential regression to be checked by team member