I want to make it work with Laravel Vapor, but the only working way is to use closures because Vapor injects AWS_SESSION_TOKEN in AWS Lambda after the actual deployment.
Vapor uses php artisan config:cache under the hood and any closure in the config throws a LogicException.
I suggest passing the Closure method to aws_credentials as an array, as in the Route facade.
Hi,
I want to make it work with Laravel Vapor, but the only working way is to use closures because Vapor injects
AWS_SESSION_TOKEN
in AWS Lambda after the actual deployment.Vapor uses
php artisan config:cache
under the hood and any closure in the config throws a LogicException.I suggest passing the Closure method to
aws_credentials
as an array, as in the Route facade.