Hello, The `atmos describe affected --format yaml ...
# atmos
g
Hello, The
atmos describe affected --format yaml --file components.yaml --repo-path tmp/
command is running slower than usual today. It is now taking about 13 minutes to complete, whereas it previously took only 1-2 minutes. I also noticed it has started to fetch the outputs configured with the
!terraform.output
function, as shown in the screenshot. The atmos version is: 1.178.0. Any ideas what happened with the
atmos describe affected
command ?
a
@Gheorghe Casian sorry, this looks like a breaking change (but made on purpose, see below) If you don't want to process templates and YAML functions in
atmos describe affected
, please use the flags
Copy code
--process-templates=false
--process-functions=false
g
šŸŽÆ
It's better now šŸ™‚ Thank you!
a
there were inconsistency b/w the flags and the docs, we made the command to process the templates and YAML functions by default, for a few reasons: • To make the command consistent with the other commands which process templates and functions by default • In some cases, Atmos will not find affected if template processing is disabled, e.g. when you use Atmos manifests as templates and the templates in the manifest define the component name(s) and component sections
for example, using this design pattern https://atmos.tools/design-patterns/component-catalog-template, it's required to process templates to be able to find the templatized components this is prob not your case, so using
--process-templates=false
will speed it up
šŸ™Œ 1
e
(also consider replacing
!terraform.output
with
!terraform.state
for 10x faster performance)
šŸ™Œ 1