brefphp / bref

Serverless PHP on AWS Lambda
https://bref.sh
MIT License
3.11k stars 366 forks source link

Additional documentation suggestions for Laravel and SES #1324

Open h-kusaba-1001 opened 1 year ago

h-kusaba-1001 commented 1 year ago

hello! Thank you for developing the always useful bref pacakge.

I'd like to suggest additional documentation for Laravel and SES.

I think the code of 'token' => env('AWS_SESSION_TOKEN'), should be added to the document in the ses part of config/services.php, similar to the S3 config settings. .

Without considering this, I spent 6 hours worrying about not being able to send SES from Lambda.

Please consider it!

mnapoli commented 1 year ago

Hi, thanks for the suggestion! Pull requests are welcome!

connexify commented 1 year ago

I have set services.php

'token' => env('AWS_SESSION_TOKEN')

But l have this error now:

"Invalid configuration value provided for \"token\". Expected Aws\Token\TokenInterface|Aws\CacheInterface|array|bool|callable, but got string(904)

mnapoli commented 1 year ago

@connexify take a look at this: https://github.com/brefphp/bref/issues/1336#issuecomment-1333475111