# atmos terraform cache delete

Delete a single cached object (and its metadata sidecar) by its cache key, as shown by `atmos terraform cache list`.

## Usage

```shell
atmos terraform cache delete <key>
```

## Arguments

- **`key`**
  The cache key to delete, e.g. 
  `providers/registry.terraform.io/hashicorp/aws/index.json`
  . Use 
  [`atmos terraform cache list`](/cli/commands/terraform/cache/list)
   to find keys.

## Examples

```shell
atmos terraform cache delete providers/registry.terraform.io/hashicorp/aws/index.json
```

## Related Commands

- [`atmos terraform cache list`](/cli/commands/terraform/cache/list)
- [`atmos terraform cache prune`](/cli/commands/terraform/cache/prune)
