Process `Go` templates and Atmos YAML functions only when executing `atmos terraform` commands that require it @aknysh (#1023)
what
- Process
Go
templates and Atmos YAML functions only when executingatmos terraform
commands that require it
why
-
Only the following
atmos terraform
commands require processing ofGo
templates and Atmos YAML functions in Atmos manifests:plan
apply
deploy
destroy
generate
-
All other
atmos terraform
command don't need the outputs of the templates and functions (e.g.atmos terraform init
oratmos terraform workspace
) -
Speed up the commands execution
-
Some YAML functions like
!terraform.output
require assuming roles, and not executing it simplifies CI/CD workflows