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
Release history Release notifications | RSS feed
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
Hashes for localstack_extension_resource_graph-0.2.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9d907ca24e5992eb7e909cb89df8721e1f90b329a150349b17284b6c769adb1 |
|
MD5 | 1f0c6d09cdf9e2bdbf879686130a7377 |
|
BLAKE2b-256 | 7242a22463146c7e0ab029bd30796a80af2d750d58db3b57567ebc94eff89de1 |
Hashes for localstack_extension_resource_graph-0.2.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 675c8542d86bbb383cbd386adf73d4ef5239b72c0a990412c9bc635433d68350 |
|
MD5 | c7d4e3c47572fd86f11fae29e6948608 |
|
BLAKE2b-256 | 96c66515eace81ab189a6a02c7ffd39866f8c98f0eaa7f39a77f5d2249ec5e99 |