That's it! The 'AWS_ACCESS_KEY_ID', 'AWS_SECRET_ACCESS_KEY' and 'AWS_SESSION_TOKEN' variables are defined automatically on AWS Lambda, you don't have to define them.
The result of Laravel's dd command returns the configuration array as below without TOKEN.
Sorry, after a few days I managed to identify the error, minutes after opening this issue I identified that the variable I configured in filesystems was incorrect.
Hi,
When debugging the filesystems settings, I see that the token was not added as described in the documentation: https://bref.sh/docs/frameworks/laravel.html#file-storage-on-s3
The result of Laravel's dd command returns the configuration array as below without TOKEN.
Any idea what it could be? Thanks