How to Install & Run Infrastructure Apps
Resoto infrastructure apps are low-code applications can be installed to extend Resoto's functionality.
Infrastructure apps can perform simple tasks like cleaning up untagged resources, finding abandoned load balancers, or sending notifications to Slack, Discord, or PagerDuty.
An infrastructure app can not execute any Resoto commands directly. Instead, it generates Resoto commands which are then executed by Resoto.
An app has read-only access to the Resoto Infrastructure Graph using the search()
function, meaning that it can only retrieve information about resources that are already known to Resoto.
To modify resources, an app needs to generate a Resoto command that does so.
Prerequisites​
This guide assumes that you have already installed Resoto.
Directions​
Search for an app using the
apps search
command:> apps search cleanup
Use the
apps install
command to install the app:> apps install cleanup-untagged
Run the app using the
apps run
command:> apps run cleanup-untagged
tipAdd the optional
--dry-run
flag to see what commands the app would perform, without actually executing them.infoBy default, Resoto passes the app a configuration that corresponds to the app name.
For example, when installing an app named
foobar
, Resoto creates a default config namedresoto.apps.foobar
.If you would like to run the app with an alternative config, you can specify the config name using the
--config
argument.Please refer to
apps run
Command for more information.