> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ubiquex.io/llms.txt
> Use this file to discover all available pages before exploring further.

# ubx blame

> Show per-resource change history — who changed a resource, when, and what the cost impact was.

`ubx blame` shows the change history for a specific resource binding — analogous to `git blame` for infrastructure.

## Usage

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/xcl.json"]}}
ubx blame <resource-address> [flags]
```

Resource address format: `unit.type.name` (e.g. `networking.aws_vpc.vpc`)

## Flags

| Flag             | Description                                    |
| ---------------- | ---------------------------------------------- |
| `--limit <n>`    | Maximum number of history entries to show      |
| `--since <date>` | Show only changes since this date (YYYY-MM-DD) |
| `--format <fmt>` | Output format: `text`, `json`                  |

## Examples

```bash theme={"theme":"css-variables","languages":{"custom":["/languages/xcl.json"]}}
ubx blame networking.aws_vpc.vpc
ubx blame networking.aws_s3_bucket.assets --limit 5
ubx blame networking.aws_rds_instance.database --since 2026-01-01
ubx blame networking.aws_vpc.vpc --format json
```

## Output

```
  aws_vpc.networking-vpc

  2026-07-07  10:00:01  abc1234  created   +$0.00/mo
  2026-07-06  15:30:22  def5678  modified  +$0.00/mo
  2026-07-01  09:15:44  ghi9012  created   +$0.00/mo
```

## JSON output

```json theme={"theme":"css-variables","languages":{"custom":["/languages/xcl.json"]}}
[
  {
    "resource": "aws_vpc.networking-vpc",
    "timestamp": "2026-07-07T10:00:01Z",
    "git_sha": "abc1234",
    "operation": "created",
    "cost_delta": 0.00
  }
]
```

## Data source

`ubx blame` reads from the same `ubx-history.json` backend as `ubx history`. Records are created automatically by `ubx ship`.

## See also

* [`ubx history`](/v1/cli/history) — all applies across the workspace
* [`ubx rollback`](/v1/cli/rollback) — revert to a previous state
