github cloudposse/atmos v1.158.0

one day ago
Add `--process-templates`, `--process-functions` and `--skip` flags to `atmos describe affected`, `atmos describe component` and `atmos describe stacks` commands @aknysh (#1006)

what

why

  • Allow executing the commands without evaluating the Go templates and executing the Atmos YAML functions. This will allow you to see the results before and after the templates and functions execution
  • Give users greater control over Atmos manifest processing
Flag Description
--process-templates Enable/disable processing of all Go templates
in Atmos stacks manifests when executing the command.
If the flag is not provided, it's set to true by default.
atmos describe affected --process-templates=false
atmos describe component <c> -s <stack> --process-templates=false
atmos describe stacks --process-templates=false
--process-functions Enable/disable processing of all Atmos YAML functions
in Atmos stacks manifests when executing the command.
If the flag is not provided, it's set to true by default.
atmos describe affected --process-functions=false
atmos describe component <c> -s <stack> --process-functions=false
atmos describe stacks --process-functions=false
--skip Skip processing a specific Atmos YAML function
in Atmos stacks manifests when executing the command.
To specify more than one function,
use multiple --skip flags, or separate the functions with a comma:
atmos describe affected --skip=terraform.output --skip=include
atmos describe affected --skip=terraform.output,include
atmos describe component <c> -s <stack> --skip=terraform.output --skip=include
atmos describe component <c> -s <stack> --skip=terraform.output,include
atmos describe stacks --skip=terraform.output --skip=include
atmos describe stacks --skip=terraform.output,include

Don't miss a new atmos release

NewReleases is sending notifications on new releases.