# nodus cloud inventory

> List the instances, GPUs or spend a cloud account's last sync saw

Source: https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_cloud_inventory/
Build revision: 211ad9f836655b1c3a2668c4693e442471f28614

## nodus cloud inventory

List the instances, GPUs or spend a cloud account’s last sync saw

```plaintext
nodus cloud inventory ACCOUNT [flags]
```

### Examples

```plaintext
  nodus cloud inventory aws-main
  nodus cloud inventory aws-main --resource gpus
```

### Options

```plaintext
  -h, --help              help for inventory
      --json              Print the response as JSON
      --resource string   instances, gpus or spend (default instances)
```

### Options inherited from parent commands

```plaintext
      --context string   Context from the config file to use
      --org string       Organization (selects the context for that org)
  -p, --project string   Project to work in
  -v, --verbose          Log each API request (never credentials)
```

### SEE ALSO

* [nodus cloud](https://nodus-platform-site.pages.dev/docs/reference/cli/nodus_cloud/) - Inspect connected cloud accounts

### Tested examples

These invocations run in CI against the CLI’s fake API.

Terminal window

```sh
nodus cloud inventory aws-main
```
