Closed Marcholio closed 4 years ago
Thanks for raising @Marcholio 👍 Looks like there was a problem with some references in the schema. The issue should be resolved in the latest version.
Thank you! I checked that it's working correctly now, much appreciated 👍
I'm submitting a ...
Do you want to request a feature or report a bug? Report a bug.
What is the current behavior? I have a lambda configured as follows:
And the queue "MySQS" is defined in the same serverless file as the function. The IDE reports two errors:
missing property "service"
missing property "provider"
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar. Minimum example:
provider: name: aws runtime: nodejs10.x
functions:
This works
function1: handler: src/handler.handler events:
sqs: arn: "arn:aws:region:XXX:MyQueue"
This does not
function2: handler: src/handler.handler events:
resources: Resources: MyQueueSQS: Type: AWS::SQS::Queue Properties: QueueName: MyQueue