terraform: comment to avoid panic

This commit is contained in:
Mitchell Hashimoto 2016-09-14 11:47:40 -07:00
parent e784e4a434
commit ba751c4e3b
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 11 additions and 8 deletions

View File

@ -194,14 +194,17 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
Dependencies: stateDeps,
State: &state,
},
&EvalApplyProvisioners{
Info: info,
State: &state,
Resource: n.Config,
InterpResource: resource,
CreateNew: &createNew,
Error: &err,
},
/*
TODO: this has to work
&EvalApplyProvisioners{
Info: info,
State: &state,
Resource: n.Config,
InterpResource: resource,
CreateNew: &createNew,
Error: &err,
},
*/
&EvalIf{
If: func(ctx EvalContext) (bool, error) {
return createBeforeDestroyEnabled && err != nil, nil