Skip to content

1.2.0

Compare
Choose a tag to compare
@mnapoli mnapoli released this 05 Jul 08:49
· 372 commits to master since this release
1d5f71c

This release provides 2 new queue commands:

  • serverless <construct-name>:logs

This command displays the logs of the Lambda "worker" function.

It is an alias to serverless logs --function <construct-name>Worker and supports the same options, for example --tail to tail logs live.

  • serverless <construct-name>:send

Send a message into the SQS queue.

This command can be useful while developing to push sample messages into the queue.

When the command runs, it will prompt for the body of the SQS message. It is also possible to provide the body via the --body="message body here" option.


Demos:

image

The body can be provided interactively:

Screen 20210705 zgUU91f8