Announcing sls-dev-tools v1.0.0! - Serverless Transformation

By Mansur Pasha

Mansur Pasha
https://github.com/Theodo-UK/sls-dev-tools

This week we’re extremely happy to announce that sls-dev-tools is officially in v1.0.0. The tool has come a really long way, providing statistics for all your Lambdas, allowing you to deploy them in a single keypress, having full support for the EventBridge Schema Registry, and a host of other shortcuts focusing on making the serverless development experience as smooth as possible.

Get immediate feedback and visibility on all your Lambdas

For those who haven’t heard of it, sls-dev-tools 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.

We’re really excited to get feedback on the tool, find out where we can improve, and hear what else you want to see. We’re continuing to work on multiple highly requested features to make this the serverless development tool.

This week, sls-dev-tools finished integration with the EventBridge Schema Registry, added functionality to the map, allowing you to change region from within the tool, and running the command is now much simpler than before! Additionally, we’ve overhauled the documentation on our Github page so go check it out!

If you find this tool useful or have any feedback please get in touch via GitHub issues, Twitter, or our brand new Gitter page! If you like what you’re seeing a ⭐️ would go a long way!

Big thanks to Arto Liukkonen (@artoliukkonen) this week for our latest community contribution, allowing you to run the tool without providing the stack name or region. sls-dev-tools is an open-source project, and a large number of our features come directly from community suggestions, issues, and PR’s, so if there’s a feature or change you want to see in sls-dev-tools and you know how you want to do it, we’d love for you to submit a PR and feature you in our next article.

  • Change region from within the tool
    You no longer need to restart the tool to change region. Instead, use tab to navigate to the map, and use the arrow keys to select a different region. Press enter to switch to that region, updating the resources displayed in the tool.
Seamlessly switch between multiple regions
  • Full support for custom event schemas
    Work on EventBridge Schema Registry support for the tool is now finished, supporting all custom registries and schemas created by you in the AWS console. Schemas with a large number of properties are no longer a problem, as you can use the left and right arrow keys to view pages of properties.
Use event schemas with any number of properties
  • Run the command without supplying arguments
    Running the tool is now as simple as running `sls-dev-tools` on the command line in your serverless project directory, as the tool extracts the stack name and region from your serverless.yml file. Alternatively you can run the tool from anywhere and supply the location of the directory using the -l option. The tool still works for other IaC such as the SAM framework.

A highly requested feature is drift detection for each of your Lambdas, highlighting them in a different colour if your local code is different to the code deployed! We also want to continue expanding on the metrics and statistics for your Lambdas, so we’re working on a statistics modal that will go in-depth on a selected Lambda.