github.com/opentofu/opentofu@v1.7.1/internal/tofu/transform_provisioner.go (about)

     1  // Copyright (c) The OpenTofu Authors
     2  // SPDX-License-Identifier: MPL-2.0
     3  // Copyright (c) 2023 HashiCorp, Inc.
     4  // SPDX-License-Identifier: MPL-2.0
     5  
     6  package tofu
     7  
     8  // GraphNodeProvisionerConsumer is an interface that nodes that require
     9  // a provisioner must implement. ProvisionedBy must return the names of the
    10  // provisioners to use.
    11  type GraphNodeProvisionerConsumer interface {
    12  	ProvisionedBy() []string
    13  }