Is there a configuration in LocalStack that allows the use of leading slashes in SQS queue URLs?

Hi there!
Is there a configuration in LocalStack that allows the use of leading slashes in SQS queue URLs?

Example:

aws --endpoint-url=http://10.10.10.10:4566 sqs send-message --queue-url 'job-queue' --message-body '{"action":"foo"}'
{
    "MD5OfMessageBody": "d7c5c51a8f055ebda8824d623081e8dc",
    "MessageId": "1e5f31f9-48bb-4c00-9adf-6812d2fa7692"
}
aws --endpoint-url=http://10.10.10.10:4566 sqs send-message --queue-url '/job-queue' --message-body '{"action":"foo"}'

An error occurred (AWS.SimpleQueueService.NonExistentQueue) when calling the SendMessage operation: The specified queue does not exist for this wsdl version.

Second query works on AWS production.

version: "3.8"

services:
  localstack:
    container_name: "${LOCALSTACK_DOCKER_NAME:-localstack-main}"
    image: localstack/localstack
    ports:
      - "4566:4566"
    environment:
      # LocalStack configuration: https://docs.localstack.cloud/references/configuration/
      - SERVICES=kms,iam,sts,s3,sqs,dynamodb
      - AWS_ACCESS_KEY_ID=test
      - AWS_SECRET_ACCESS_KEY=test
      - DEBUG=${DEBUG:-1}
      - LS_LOG=trace
      - PROVIDER_OVERRIDE_APIGATEWAY=next_gen
      - LOCALSTACK_HOST=0.0.0.0:4566
    volumes:
      - "${LOCALSTACK_VOLUME_DIR:-./volume}:/var/lib/localstack"
      - "/var/run/docker.sock:/var/run/docker.sock"

Thanks for any help.

Hey @dbbb,

there is no way to do that in LocalStack. Honestly, I wasn’t even aware that this is possible! :smile:

We’ll treat this as a parity bug and can add it to the backlog!

Hey @thrau
Thank you.