We're looking at starting to use Atmos workflows. ...
# atmos
d
We're looking at starting to use Atmos workflows. Are folks using
TF_VAR_
environment variables to pass apply-time values to the workflow? For example, a specifying version tag (
var.version_tag
) that is used in the Terraform components' resource definitions
e
You can, but you can also pass vars as arguments for apply time values
We also support !env to pass any env
t
Atmos throws a warning about using
TF_VAR_
variables. We took what was
TF_VAR_varname
and chopped off the
TF_VAR_
prefix and started passing the vars as
!env varname
via the YAML. https://atmos.tools/core-concepts/stacks/yaml-functions/env/
e
> Atmos throws a warning about using
TF_VAR_
variables I think this is only in older versions of atmos
We still warn on this because it means the configuration is coming from outside of Atmos. It's only a warning. It means that if you have those set, someone else running the same exact command might get a different outcome.
Unless they also have the same shell env configured as well