2020-09-04 13:03:45 -05:00
|
|
|
package terraform
|
|
|
|
|
2020-10-28 12:47:04 -05:00
|
|
|
import "github.com/hashicorp/terraform/tfdiags"
|
|
|
|
|
2020-09-04 13:03:45 -05:00
|
|
|
// GraphNodeExecutable is the interface that graph nodes must implement to
|
|
|
|
// enable execution. This is an alternative to GraphNodeEvalable, which is in
|
|
|
|
// the process of being removed. A given graph node should _not_ implement both
|
|
|
|
// GraphNodeExecutable and GraphNodeEvalable.
|
|
|
|
type GraphNodeExecutable interface {
|
2020-10-28 12:47:04 -05:00
|
|
|
Execute(EvalContext, walkOperation) tfdiags.Diagnostics
|
2020-09-04 13:03:45 -05:00
|
|
|
}
|