What’s new on sls-dev-tools? — April

Mansur Pasha
Apr 7, 2020 · 3 min read
Image for post
Image for post

We have a bunch of new features in our second post alpha iteration of sls-dev-tools, with the introduction of support for EventBridge Injection as well as stack & function deployment from inside the tool.

For those who haven’t heard of it, sls-dev-tools is an opensource project that aims at becoming the equivalent of Chrome Dev Tools for the Serverless World. Our goal is to provide the Serverless community with metrics, logs and feedback directly in the terminal, eliminating the need to constantly jump to the AWS Console.

The new features released with version 0.2.1

  • Deployment from within the tool
    A feature we’re really excited to announce is the ability to deploy lambdas from within the tool in a single keypress. You can select a function and press “d” to deploy it individually, or press “s” and deploy the whole stack. Additional commands can be passed to the deploy argument via the sls-dev-tools config.

This feature is framework agnostic, working for the Serverless Framework and the SAM framework by passing the --sam option and adding any additional fields to the sls-dev-tools config.

  • EventBridge “Event injection”
    The tool now shows you a list of your EventBuses from EventBridge. Tabbing to the new EventBus section and selecting an Event Bus will allow you to press “i”, opening up a prefilled modal that lets you enter parameters for a custom event, and submit it to the bus, all from within the tool.
Image for post
Image for post
  • Accessible help menu
    As the tool and functionality grows, so does this list of available commands!
    sls-dev-tools now allows you to view a list of all the keyboard shortcuts within the tool with a handy help modal by pressing “h”.
Image for post
Image for post

What’s next?

The team is working on integrating the tool with the EventBridge Schema Registry to allow you to inject Events with ease.
In addition to this will be the ability to run your favourite test suites from inside the tool, and invoking lambdas in a single keypress. Stay tuned!

Your contribution is priceless

If you find this tool useful or have any feedback please get in touch via GitHub issues or Twitter.

And, if you like what you’re seeing a ⭐️would go a long way!

Image for post
Image for post

We are also actively looking for contributors and will be available to help you find good first issues, code review and assistance on developing out any new functionality.

Docs: https://theodo-uk.github.io/sls-dev-tools/

Serverless Transformation

Tools, techniques, and case studies of using serverless to…

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store