title: How to Run Queues & Configure Laravel ENV for Amazon SQS
body: <p>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 </p>
  
  <p>I think I'm probably not passing Amazons credentials properly. Here my set up from my ENV file</p>
  
  <p>I've installed aws/aws-sdk-php </p>
  
  <pre><code>   QUEUE_DRIVER=sqs
  
     SQS_PUBLIC_KEY=PUBLICKEY
     SQS_SECRET_KEY=SECRETKEY
     SQS_PREFIX=https://sqs.us-west-2.amazonaws.com/NUMBER
     SQS_QUEUE=QUE 
  </code></pre>
  
  <p>my config/queue looks like this:</p>
  
  <pre><code>'sqs' =&gt; [
          'driver' =&gt; 'sqs',
          'key'    =&gt; env('SQS_PUBLIC_KEY'),
          'secret' =&gt; env('SQS_SECRET_KEY'),
          'prefix' =&gt; env('SQS_PREFIX'),
          'queue'  =&gt; env('SQS_QUEUE'),
          'region' =&gt; 'us-east-1',
      ],
  </code></pre>
  
  <p>any guidance would be greatly appreciated</p>