EmbrasureDocs
Automation

CLI and Terraform

Inspect lineage, operate Scouts, automate CI, and manage configuration as code.

Install the CLI and authenticate:

npm install --global @embrasure/cli
embrasure auth login
embrasure doctor
TaskCommand
List connectorsembrasure connectors list
Inspect impactembrasure lineage impact <relation_ref> --connector <id>
Export lineageembrasure lineage export --out lineage.ndjson
List Scoutsembrasure monitor scouts list
Run a Scoutembrasure monitor scouts run <id> --yes
Inspect schema changesembrasure schema changes list
Investigate a tableembrasure investigate table <relation_ref>

For CI, store EMBRASURE_API_TOKEN in the CI secret manager and select a workspace through config or --workspace.

Terraform provider

Configure the provider with api_url and a token supplied through EMBRASURE_API_TOKEN:

terraform {
  required_providers {
    embrasure = {
      source = "embrasure/embrasure"
    }
  }
}

provider "embrasure" {
  workspace_id = var.embrasure_workspace_id
}

The provider manages:

  • embrasure_connector
  • embrasure_lineage_source
  • embrasure_scout
  • embrasure_alert_destination

Imports use the stable resource ID. Plans redact secrets, and updates preserve provider identity so a configuration change cannot silently rebind lineage evidence.

On this page