terraform/dag
Paul Hinze 97acccd3ed core: targeted operations
Add `-target=resource` flag to core operations, allowing users to
target specific resources in their infrastructure. When `-target` is
used, the operation will only apply to that resource and its
dependencies.

The calculated dependencies are different depending on whether we're
running a normal operation or a `terraform destroy`.

Generally, "dependencies" refers to ancestors: resources falling
_before_ the target in the graph, because their changes are required to
accurately act on the target.

For destroys, "dependencies" are descendents: those resources which fall
_after_ the target. These resources depend on our target, which is going
to be destroyed, so they should also be destroyed.
2015-03-31 14:49:38 -05:00
..
dag.go core: targeted operations 2015-03-31 14:49:38 -05:00
dag_test.go core: targeted operations 2015-03-31 14:49:38 -05:00
edge.go dag: export more things 2015-02-19 12:08:07 -08:00
edge_test.go dag: Remove, RemoveEdge, DownEdges, UpEdges 2015-02-19 12:07:54 -08:00
graph.go dag: Replace 2015-02-19 12:07:56 -08:00
graph_test.go dag: Replace 2015-02-19 12:07:56 -08:00
set.go dag: TransitiveReduction 2015-02-27 19:12:19 -08:00
tarjan.go dag: fix walk order issue, scc issues 2015-02-19 12:07:55 -08:00
tarjan_test.go dag: Remove, RemoveEdge, DownEdges, UpEdges 2015-02-19 12:07:54 -08:00