How to Install & Run Infrastructure Apps
Fix Inventory infrastructure apps are low-code applications can be installed to extend Fix Inventory'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 Fix Inventory commands directly. Instead, it generates Fix Inventory commands which are then executed by Fix Inventory.
An app has read-only access to the Fix Inventory Infrastructure Graph using the search() function, meaning that it can only retrieve information about resources that are already known to Fix Inventory.
To modify resources, an app needs to generate a Fix Inventory command that does so.
Prerequisites​
This guide assumes that you have already installed Fix Inventory.
Directions​
-
Search for an app using the
app searchcommand:> app search cleanup -
Use the
app installcommand to install the app:> app install cleanup-untagged -
Run the app using the
app runcommand:> app run cleanup-untaggedtipAdd the optional
--dry-runflag to see what commands the app would perform, without actually executing them.infoBy default, Fix Inventory passes the app a configuration that corresponds to the app name.
For example, when installing an app named
foobar, Fix Inventory creates a default config namedfix.apps.foobar.If you would like to run the app with an alternative config, you can specify the config name using the
--configargument.Please refer to
app runCommand for more information.