-
Type: Build Failure
-
Resolution: Done
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Env variable change appears to be the issue.
[2023/05/31 18:35:35.596] AWS Lambda Examples [2023/05/31 18:35:35.596] #handler [2023/05/31 18:35:35.596] when using aws environment variable authentication [2023/05/31 18:35:35.635] 1) "before all" hook for "returns the databases" [2023/05/31 18:35:35.635] 0 passing (40ms) [2023/05/31 18:35:35.635] 1 failing [2023/05/31 18:35:35.635] 1) AWS Lambda Examples [2023/05/31 18:35:35.635] #handler [2023/05/31 18:35:35.635] when using aws environment variable authentication [2023/05/31 18:35:35.635] "before all" hook for "returns the databases": [2023/05/31 18:35:35.635] MongoServerError: Could not find user "arn:aws:iam::557821124784:user/authtest_fargate_user" for db "$external" [2023/05/31 18:35:35.635] at Connection.onMessage (lib/cmap/connection.js:202:26) [2023/05/31 18:35:35.635] at MessageStream.<anonymous> (lib/cmap/connection.js:61:60) [2023/05/31 18:35:35.635] at processIncomingData (lib/cmap/message_stream.js:124:16) [2023/05/31 18:35:35.635] at MessageStream._write (lib/cmap/message_stream.js:33:9) [2023/05/31 18:35:35.635] at writeOrBuffer (internal/streams/writable.js:358:12) [2023/05/31 18:35:35.635] at MessageStream.Writable.write (internal/streams/writable.js:303:10) [2023/05/31 18:35:35.635] at Socket.ondata (internal/streams/readable.js:731:22) [2023/05/31 18:35:35.635] at addChunk (internal/streams/readable.js:293:12) [2023/05/31 18:35:35.635] at readableAddChunk (internal/streams/readable.js:267:9) [2023/05/31 18:35:35.635] at Socket.Readable.push (internal/streams/readable.js:206:10) [2023/05/31 18:35:35.635] at TCP.onStreamRead (internal/stream_base_commons.js:188:23)