Following the Laravel Vapor documentation for file uploads (https://docs.vapor.build/1.0/resources/storage.html#file-uploads), I'm encountering the following error when I try to upload the file from localhost to S3:
POST http://localhost:8000/vapor/signed-storage-url 500 (Internal Server Error)
The laravel log states the following:
Unable to issue signed URL. Missing environment variables: AWS_BUCKET, AWS_DEFAULT_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY at Http\\Controllers\\SignedStorageUrlController.php:107
All of those environment variables are defined in the .env file.
Any ideas on how to overcome this issue?