ContinueOps

    continueops

    by: ContinueOps·Resilience & Disaster Recovery

    Published
    Published 3 days ago
    Version
    0.1.0
    Source
    app.terraform.io/continueops/continueops
    Documentation

    continueops_runners (Data Source)

    The tenant's enrolled runners, optionally only those in one pool. Ordered by id, so the result is stable between plans.

    Example Usage

    # Every enrolled runner in the "aws-prod" pool.
    data "continueops_runners" "aws_prod" {
      pool = "aws-prod"
    }
    
    output "online" {
      value = [for r in data.continueops_runners.aws_prod.runners : r.id if r.online]
    }

    Schema

    Optional

    • pool (String) Only runners in this pool. Omit for every enrolled runner.

    Read-Only

    • ids (List of String) The runners' ids, sorted.
    • runners (Attributes List) The runners, in the same order as ids. (see below for nested schema)

    Nested Schema for runners

    Read-Only:

    • agent_version (String) Version of the runner agent.
    • arch (String) CPU architecture the runner reported (e.g. amd64, arm64).
    • capabilities (Set of String) Capabilities the runner reported.
    • id (String) Runner (deployment) id, dep_....
    • last_heartbeat_at (String) When the runner last checked in (RFC 3339, UTC); null if never.
    • licence_id (String) Id of the continueops_runner_licence the runner enrolled with.
    • online (Boolean) Whether the runner checked in within the last three minutes, as of this read.
    • os (String) Operating system the runner reported (e.g. linux, windows).
    • pool (String) The runner's pool label; null if it has none.
    • registered_at (String) When the runner enrolled (RFC 3339, UTC).
    • tpm (String) The runner's TPM, if it reported one; null otherwise.