How to Run Queues & Configure Laravel ENV for Amazon SQS

Question:

I’m having trouble working with Amazons SQS within my Laravel 5.2 app. My app queued events work fine when i use database queue drivers, but not when I use sqs

I think I’m probably not passing Amazons credentials properly. Here my set up from my ENV file

I’ve installed aws/aws-sdk-php

my config/queue looks like this:

any guidance would be greatly appreciated

Answer:

In your config/queue.php file, make sure you have the ENV values listed.

Something like this:

Leave a Reply