Hey all, first post. I'm trying to learn more abou...
# atmos
b
Hey all, first post. I'm trying to learn more about how atmos stacks work. So you can target a list of one or more components in a stack, or you can target
--all
components in a stack. Does atmos "understand" the dependencies between components and apply things in dependency order? Can atmos automatically detect which other components need to be applied when another component's outputs change?
e
Yes and no. We have a PR that adds dependency order for
—-all
but right now only
—affected
is dependency order
But it does not maintain state, so we cannot detect when outputs or any external dependencies change; you would just rerun
b
Neat, I hadn't seen the
--affected
option
e
b
Can atmos infer dependencies based on using the
!terraform.state
function?
e
not at this time
I wouldn't rule it out longer term, but explicit dependencies is the current design.
b
Ok, thank you