terraform/helper/resource
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
..
map.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
map_test.go helper/resource: automatically validate resources 2014-07-08 10:17:36 -07:00
resource.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
state.go helper/resource: allow configuration of not found checks in state change 2015-02-26 09:59:42 -08:00
state_test.go helper/resource: add Retry function 2014-10-07 21:44:51 -07:00
testing.go core: targeted operations 2015-03-31 14:49:38 -05:00
testing_test.go ResourceDiff => InstanceDiff 2014-09-17 16:33:24 -07:00
wait.go helper/resource: RetryError for quitting quickly 2014-10-17 18:28:03 -07:00
wait_test.go helper/resource: RetryError for quitting quickly 2014-10-17 18:28:03 -07:00