terraform-provider-stackgen

sg_remote_runner (Data Source)

⚠️ Experimental — Fetches information about a specific remote runner by name (the runner identifier / runner_id). When provider workspace_id is set, the lookup is scoped to that workspace.

Example Usage

# Look up a runner by the same identifier used in sg_agent.remote_runners (name / runner_id).
data "sg_remote_runner" "example" {
  name = "prod-edge-runner"
}

output "runner_attached_apps" {
  value = data.sg_remote_runner.example.attached_apps
}

Schema

Required

Read-Only