From 7b305d1f410a2ec851a42b185a8704d1cbcd8a22 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 13 Feb 2015 16:44:50 -0800 Subject: [PATCH] terraform: forgot the docs :( --- terraform/eval_state.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/terraform/eval_state.go b/terraform/eval_state.go index fa664e211..38bd1a594 100644 --- a/terraform/eval_state.go +++ b/terraform/eval_state.go @@ -134,8 +134,10 @@ func (n *EvalWriteState) Type() EvalType { return EvalTypeNull } -// EvalDeposeState is an EvalNode implementation that reads the -// InstanceState for a specific resource out of the state. +// EvalDeposeState is an EvalNode implementation that takes the primary +// out of a state and makes it tainted. This is done at the beggining of +// create-before-destroy calls so that the create can create while preserving +// the old state of the to-be-destroyed resource. type EvalDeposeState struct { Name string }