title: AWS Serverless : SQS Lambda trigger not getting created
body: <p>I am using Serverless framework and trying to create SQS triggers for lambda function.</p>
  
  <p>The SQS Queue is already created using another serverless template.</p>
  
  <p>When I execute the serverless deploy command, there are no errors, but the SQS trigger is also <strong>not</strong> created.</p>
  
  <p>Here is my serverless.yml file</p>
  
  <pre><code>service: cloudformation-demo
  
  plugins:
    - serverless-pseudo-parameters
  
  custom:
    CONNECT_DEVICE_SQS_ROLE_NAME: SqSConnectRole
    CONNECT_DEVICE_SQS_QUEUE_NAME: connectDeviceSQSDemo1
  
  
  provider:
    name: aws
    runtime: go1.x
    stage: dev
    region: us-east-1
  
  
  package:
   individually: true
   exclude:
     - ./**
  
  functions:
     lambdaenvinfo:
      handler: bin/handlers/lambdaenvinfo
      timeout: 900
      package:
       exclude:
          - "**/**"
       include:
         - ./bin/handlers/lambdaenvinfo
       events:
        - sqs:
           arn: arn:aws:sqs:us-east-1:672851574246:connectDeviceSQSDemo
           batchSize: 1
           enabled: true
  </code></pre>
  
  <p>I also referred to this thread, and tried to add required spaces.</p>
  
  <p><a href="https://stackoverflow.com/questions/51974560/serverless-does-not-create-sqs-events">Serverless does not create SQS events</a></p>
  
  <p>Any solutions to this problem?
  It's surprising to see serverless doesn't display any errors.</p>