Skip to main content

EnvironmentComparison

Side-by-side comparison of two environments in the same project.

Returned by compareEnvironments. The comparison pairs instances by component and reports a per-instance diff of the resolved version and configured params. Environment-level attributes and default resource wiring are intentionally out of scope.

Environments must belong to the same project — cross-project comparisons are not meaningful because components are project-scoped.

type EnvironmentComparison {
source: Environment!
target: Environment!
instances: [InstanceComparison!]!
}

Fields

EnvironmentComparison.source ● Environment! non-null object {#source}

The environment on the source side of the comparison.

EnvironmentComparison.target ● Environment! non-null object {#target}

The environment on the target side of the comparison.

EnvironmentComparison.instances ● [InstanceComparison!]! non-null object {#instances}

Per-component diff, sorted by component identifier for a stable output.

Returned By

compareEnvironments query