Inventory
The Inventory page lists the resources that exist in your cloud accounts. For each resource, it shows whether code manages it. Use it to find resources that no stack manages.
Before you start
Section titled “Before you start”Connect a cloud account in Cloud connections. Setting up the inventory and syncing it need the Admin role.
Set up the inventory
Section titled “Set up the inventory”The inventory reads from your cloud connections through sources. A source holds what Nimzo reads from one connection.
- Select Inventory in the sidebar, under Infrastructure.
- Under Set up the inventory, select Set up next to a connection.
- Under What the inventory reads, choose all regions, subscriptions or projects, including new ones, or only the ones you select. The list is Regions for AWS, Subscriptions for Azure and Projects for GCP.
- Select Start.
Nimzo shows Inventory set up. The first sync started. Without a cloud connection, the page says to connect a cloud account in Settings.
To change a source, select Sources, then Edit next to it. Turn Enabled on or off, change what it reads, and select Save changes. To read another connection, select Set up under Connections without a source, or Connect under Other cloud providers.
Read the list
Section titled “Read the list”The page counts the resources, for example “120 resources”. Scroll down to load more. The columns are:
- Name. Select the header to sort.
- Status is Managed when a stack manages the resource, and Unmanaged when none does. Nimzo knows this from the Terraform state of your stacks, so give your cloud connections access to that state. See Read Terraform state in Cloud connections.
- Stack is the stack that manages the resource. When several stacks do, the first shows with the number of others, for example +2. Select the stack name to open it. See Stacks.
- Type, Provider (AWS, Azure or GCP), Account and Region.
- Tags. Select a tag to filter the list by it.
Find resources
Section titled “Find resources”- Type in Search resources to search the list.
- Select Filters, then pick what to filter by: Provider, Account, Region, Type, Status, Stack or Tags.
- Pick one or more values.
To see the resources no stack manages, filter Status by Unmanaged. The page then counts the resources that match, for example “12 resources match”. Select Clear filters to start again. When nothing matches, the page says No resources match these filters.
Sync the inventory
Section titled “Sync the inventory”Nimzo syncs the sources that are out of date when you open the page. To sync by hand:
- Select Sync now.
- Choose the sources to sync.
- Select Sync 1 source, or Sync with the number of sources you chose. Nimzo shows Sync started.
A bar under the header shows Syncing with its progress, then Synced or Sync failed with the number of failures. Select View details, or select Syncs in the header, to see the progress, the counts of resources written and the failures of each source. A failure shows its code, and its message and a fix when Nimzo has them. Previous runs lists the earlier syncs of the source.
Without a synced resource, the page says No resources synced yet.
Troubleshooting
Section titled “Troubleshooting”- “Could not load the inventory.” Select Retry, or try again in a few minutes.
- “Syncing needs the Admin role. Ask an Admin of this organization.” Ask an Admin to sync.
- “The sync could not start. Check the cloud connection in Settings, then try again.” Test the connection in Cloud connections.