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

Usage

ubx blame <resource-address> [flags]
Resource address format: unit.type.name (e.g. networking.aws_vpc.vpc)

Flags

FlagDescription
--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

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

[
  {
    "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