Hello, I have a problem with a project with nestJS architecture and serverless, if someone has happened and can help me.
I have an endpoint in a lambda that communicates with a sqs queue. I have the IAM permission defined in my serverless.yml so that this lambda can send messages to this SQS.
The problem I have is that in cloudwatch I see that the lambda tries to look for the credentials as if it was running in a local environment.
Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1 CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
Any suggestions?
Thanks