terraform: enable provisioners to execute
This commit is contained in:
parent
0f0eecfee7
commit
5220cba77c
|
@ -216,8 +216,6 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
|
||||||
Dependencies: stateDeps,
|
Dependencies: stateDeps,
|
||||||
State: &state,
|
State: &state,
|
||||||
},
|
},
|
||||||
/*
|
|
||||||
TODO: this has to work
|
|
||||||
&EvalApplyProvisioners{
|
&EvalApplyProvisioners{
|
||||||
Info: info,
|
Info: info,
|
||||||
State: &state,
|
State: &state,
|
||||||
|
@ -226,7 +224,6 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
|
||||||
CreateNew: &createNew,
|
CreateNew: &createNew,
|
||||||
Error: &err,
|
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