mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-29 10:21:01 -06:00
terraform: comment to avoid panic
This commit is contained in:
parent
e784e4a434
commit
ba751c4e3b
@ -194,6 +194,8 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
|
||||
Dependencies: stateDeps,
|
||||
State: &state,
|
||||
},
|
||||
/*
|
||||
TODO: this has to work
|
||||
&EvalApplyProvisioners{
|
||||
Info: info,
|
||||
State: &state,
|
||||
@ -202,6 +204,7 @@ func (n *NodeApplyableResource) EvalTree() EvalNode {
|
||||
CreateNew: &createNew,
|
||||
Error: &err,
|
||||
},
|
||||
*/
|
||||
&EvalIf{
|
||||
If: func(ctx EvalContext) (bool, error) {
|
||||
return createBeforeDestroyEnabled && err != nil, nil
|
||||
|
Loading…
Reference in New Issue
Block a user