Not able to authenticate using aws I AM Role from lamda

i am trying to do aws I AM ROLE to aauthenticate mongo db from aws lamda.but i am getting this error
MongoMissingDependencyError: Optional module aws4 not found. Please install it to enable AWS authentication at Object. i am not able to find a solution to this

AWS authentication is optional in the driver; you need to install aws4:

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.