terraform: enable provisioners to execute
This commit is contained in:
parent
0f0eecfee7
commit
5220cba77c
|
@ -216,17 +216,14 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
|
||||||
Dependencies: stateDeps,
|
Dependencies: stateDeps,
|
||||||
State: &state,
|
State: &state,
|
||||||
},
|
},
|
||||||
/*
|
&EvalApplyProvisioners{
|
||||||
TODO: this has to work
|
Info: info,
|
||||||
&EvalApplyProvisioners{
|
State: &state,
|
||||||
Info: info,
|
Resource: n.Config,
|
||||||
State: &state,
|
InterpResource: resource,
|
||||||
Resource: n.Config,
|
CreateNew: &createNew,
|
||||||
InterpResource: resource,
|
Error: &err,
|
||||||
CreateNew: &createNew,
|
},
|
||||||
Error: &err,
|
|
||||||
},
|
|
||||||
*/
|
|
||||||
&EvalIf{
|
&EvalIf{
|
||||||
If: func(ctx EvalContext) (bool, error) {
|
If: func(ctx EvalContext) (bool, error) {
|
||||||
return createBeforeDestroyEnabled && err != nil, nil
|
return createBeforeDestroyEnabled && err != nil, nil
|
||||||
|
|
Loading…
Reference in New Issue