Serverless reference SQS deployment error

When we try to deploy the project to AWS, the deployment fails because of the SQS service. The error communicates that the lambda functions are trying to access the queues that do not exist.

functions:
  mySQLExportMaster:
    handler: src/functions/mysql-export-master/handler.mySQLExportMaster
    memorySize: 512
    environment:
      REGION: ${opt:region, 'us-east-1'}
      MYSQL_EXPORT_WORKER_LAMBDA: ${self:service}-${self:custom.stage}-mySQLExportWorker
      MYSQL_EXPORT_DATA_QUEUE: https://sqs.${self:custom.region}.amazonaws.com/${self:custom.accountId}/${self:custom.mySQLExportDataQueue}
    vpc:
      securityGroupIds:
        - ${self:custom.securityGroupId}
      subnetdIds:
        - ${self:custom.subnet1}
        - ${self:custom.subnet2}
    events:
      - http:
          path: mySqlExportMaster
          method: post  

resources:
  Resources:
    MySQLExportDataQueue:
     Type: "AWS::SQS::Queue"
     Properties:
       QueueName: ${self:custom.mySQLExportDataQueue}
       VisibilityTimeout: 120
       RedrivePolicy:
         deadLetterTargetArn:
           Fn::GetAtt:
             - MySQLExportDataDLQueue
             - Arn
         maxReceiveCount: 1

Any help will be appreciated.