brefphp / laravel-bridge

Package to use Laravel on AWS Lambda with Bref
https://bref.sh/docs/frameworks/laravel.html
MIT License
314 stars 63 forks source link

SES - Request to AWS SES API failed. Reason: The Security Token included in the request is invalid #112

Closed olkitu closed 1 year ago

olkitu commented 1 year ago

In 2.0 version have added automatically fix dynamodb, filesystem and queue AWS_SESSION_TOKEN but would be nice also fix SES service token so do not need anymore fix manually to config/services.php.

Config::set('services.ses.token', env('AWS_SESSION_TOKEN'));
georgeboot commented 1 year ago

Agreed. Feel free to submit a PR for this!