Skip to main content

Altimeter based LocalStack extension that allows you to create and import into neptune a graph of the resources in your LocalStack instance

Project description

Resource Graph

All the boilerplate you need to create a LocalStack extension.

Install local development version

To install the extension into localstack in developer mode, you will need Python 3.10+, and create a virtual environment in the extensions project. You will also need to install yarn as package manager if you haven't already In the newly generated project, simply run

make install

Then, to enable the extension for LocalStack, run

localstack extensions dev enable .

You can then start LocalStack with EXTENSION_DEV_MODE=1 to load all enabled extensions:

EXTENSION_DEV_MODE=1 localstack start

Developing UI

With this template is generated also a UI made in react that is available at either Resource Graph.localhost.localstack.cloud:4566/ or http://localhost.localstack.cloud:4566/_extension/Resource Graph/.

There are a few make commands available that will help your journey with the UI:

  • build-frontend: will build the react app into the frontend/build folder which will then be passed into the extension itself allowing the UI to be seen. Remember to always execute this command when you wish to see new changes when using the extension.
  • start-frontend: will start a live server on port 3000 (by default) that will allow you to have hot reloading when developing locally outside the extension (it will also build the frontend)

Install from GitHub repository

To distribute your extension, simply upload it to your github account. Your extension can then be installed via:

localstack extensions install "git+https://github.com/janedoe/resource-graph/#egg=resource-graph"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page