Skip to main content

atmos stack config delete

Delete a component-relative value for a component in a stack. Atmos uses provenance to find the manifest that defines the value and removes it there, preserving the rest of the file. This is the canonical form; atmos stack delete is a convenience alias for this command.

atmos stack config delete --help

Usage

atmos stack config delete <path> -s <stack> -c <component> [--file <manifest>]

The del and unset aliases are also accepted.

Examples

atmos stack config delete settings.spacelift.workspace_enabled -s plat-ue2-prod -c vpc
atmos stack config delete vars.legacy_flag --file stacks/deploy/prod.yaml -s plat-ue2-prod -c vpc

Arguments

<path> (required)
Component-relative dot-notation path to delete (e.g. vars.legacy_flag).

Flags

--stack / -s (string, required)
The stack name.
--component / -c (string, required)
The component name.
--file (string)
Edit this manifest explicitly instead of resolving via provenance.