Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

tebowner's avatar

SQS Amazon Queue settings

My Queue Worker is not getting anything from my queue in SQS.. wondering what the values are supposed to be set to.... when i run artisan queue:work it does process correctly

Connection : I have this set to sqs Queue : I have this set to the name of my queue in sqs DocProcessor ... should this be the whole queue url???

also , can i use env vars in the config/queue area such as

'sqs' => [
            'driver' => 'sqs',
            'key'    => env("AWS_ACCESS_KEY_ID"),
            'secret' => env("AWS_SECRET_ACCESS_KEY"),
            'queue'  => env("QUEUE_URL"),
            'region' => 'us-east-1',
        ],

0 likes
1 reply
tebowner's avatar

seems to be working with full aws queue URL in the QUEUE field in Forge... i assume the env vars are also working as it processed OK... not sure why Forge would not be reading from the config file to get the full URL?

Please or to participate in this conversation.