mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -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,
|
Dependencies: stateDeps,
|
||||||
State: &state,
|
State: &state,
|
||||||
},
|
},
|
||||||
|
/*
|
||||||
|
TODO: this has to work
|
||||||
&EvalApplyProvisioners{
|
&EvalApplyProvisioners{
|
||||||
Info: info,
|
Info: info,
|
||||||
State: &state,
|
State: &state,
|
||||||
@ -202,6 +204,7 @@ 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
Block a user