Overriding Resources

Override resource configuration per environment in Facets without changing the blueprint, then compare or revert any change from its history.

The Overrides tab changes a resource's configuration at the environment level, without touching the blueprint. Use it when an environment needs to deviate from the blueprint: an environment-specific value, a hotfix in a live environment, or a configuration you want to test in one place before rolling it wider.

What you can do

  • Form or JSON mode: edit through a guided form or the JSON directly. JSON mode's blueprint vs. override comparison shows the effective config: the blueprint merged with this environment's override.
  • Variables in context: edit the resource's environment variables, and see what its secrets and variables resolve to, without leaving the page.
  • History: every override save and blueprint change, with compare and revert.

Performing an override

Using prompt

Set service/api to 10 replicas in prod only.

or

Using command

raptor apply override service/api -p PROJECT -e ENVIRONMENT --set spec.replicas=10

--set merges into the existing override, so fields you do not mention are left alone. Values are type-inferred: true, false, numbers and JSON are parsed, anything else stays a string. Use --set-json when you want invalid JSON to fail rather than silently become a string, and --set-string for a field that holds serialized JSON as text.

--unset spec.some.field removes a field from the override. That releases the pin, so later blueprint edits reach this environment again.

Add --dry-run to print the override without applying it.

New to the CLI? Install it first.

  1. Pick Form mode for a guided interface, or JSON mode for direct editing.
  2. Make your changes. In JSON mode, use the blueprint vs. override comparison to review the diff.
  3. Save to apply the new configuration to the resource in that environment.

Some module fields can only be set per environment, never in the blueprint. Where such a field is required and this environment has not set it, the Overrides tab shows a warning, so the gap is visible here rather than surfacing when a release fails.

History

Every override change is kept as a version, so you can compare and revert.

Using prompt

Roll back the override history on service/api in prod.

or

Using command

raptor get overrides service/api -p PROJECT -e ENVIRONMENT --history --diff
raptor rollback override service/api -p PROJECT -e ENVIRONMENT

The first lists the revisions and diffs the latest against the previous one; --diff=v2..v5 compares any two. The second restores a revision, defaulting to the one before the current change, with --version N to pick another from the history.

A rollback is recorded as a new revision whose content equals the target, so history is never rewound and a rollback can itself be rolled back. The command prints the effective-configuration diff and asks for confirmation before writing; --yes skips the prompt. The environment picks up the restored configuration on its next release.

New to the CLI? Install it first.

Open History from:

  • The Overrides tab: the History link in its sidebar. In JSON mode, Show History opens override history only.
  • The Live tab: the History button on any card.
  • The resource's configuration page in the blueprint: the View History icon in an environment's row.

Each override save and blueprint change adds a row, even when the effective config stayed the same (Timeline marks those "No config change"). Hover an Effective ID to see its override version and blueprint commit, each tagged Live, Pending or Preview.

  • Compare diffs the effective config of two versions, or the override alone under Show override only.
  • Revert restores the override to that version, previewing the effective config before and after; the blueprint stays unchanged. The change is pending until a release runs. Reverting needs the Override permission on the environment; without it, the tooltip reads "Access is forbidden".

On the drawer's Builds Registered tab, reverting a build needs the Artifacts Write permission.

Limits:

  • History keeps the last 50 override versions.
  • A resource with no override has no effective history; use the drawer's Blueprint tab.
  • Override versions saved before effective history began sit below a divider, without their blueprint.
  • Blueprint changes are recorded at each environment sync, so two pushes between syncs make one row.

Deleting an override

Delete one overridden field, or clear every override on a resource in an environment.

Using prompt

Remove the memory override on service/api in prod.

or

Using command

raptor delete override service/api -p PROJECT -e ENVIRONMENT --path spec.runtime.size.memory
raptor delete override service/api -p PROJECT -e ENVIRONMENT

With --path, repeatable, only the named fields go. That is the same operation as selecting overrides in the console. Without --path, every override on the resource goes and it reverts to its blueprint definition in that environment. -e takes more than one environment in either mode, so one call can clear a field across all of them.

The override document and its version history survive a delete either way.

New to the CLI? Install it first.

  1. Open the Overrides Summary tab in the resource side-pane.
  2. Select the overrides you want to delete.

Deleted fields revert to their blueprint default. Changes go live on the resource's next release.

Troubleshooting

ProblemSolution
Override changes are not liveConfirm the change is saved with no validation errors, and that a release has run for the resource since.
Configuration conflictsUse the blueprint vs. override comparison to find and resolve the discrepancy.
Save fails with "changed after you opened it. Reload to see the current configuration."Someone changed the blueprint or override while you edited. Reload, then make your change again.
A rollback did not take effectCheck History for later changes, and make sure a release ran after the rollback.