<a id="command-juju-resources"></a>

# `juju resources`

> See also: [attach-resource](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/attach-resource.md), [charm-resources](https://documentation.ubuntu.com/juju/3.6/reference/juju-cli/list-of-juju-cli-commands/charm-resources.md)

**Aliases:** list-resources

## Summary

Show the resources for an application or unit.

## Usage

`juju resources [options] <application or unit>`

### Options

| Flag                       | Default   | Usage                                                                      |
|----------------------------|-----------|----------------------------------------------------------------------------|
| `-B`, `--no-browser-login` | false     | Do not use web browser for authentication                                  |
| `--details`                | false     | Show detailed information about the resources used by each unit.           |
| `--format`                 | tabular   | Specify output format (json|tabular|yaml)                                  |
| `-m`, `--model`            |           | Model to operate in. Accepts [<controller name>:]<model name>|<model UUID> |
| `-o`, `--output`           |           | Specify an output file                                                     |

## Examples

To list resources for an application:

```none
juju resources mysql
```

To list resources for a unit:

```none
juju resources mysql/0
```

To show detailed information about resources used by a unit:

```none
juju resources mysql/0 --details
```

## Details

This command shows the resources required by and those in use by an existing
application or unit in your model.  When run for an application, it will also show any
updates available for resources from a store.
