github.com/muratcelep/terraform@v1.1.0-beta2-not-internal-4/not-internal/terraform/transform_attach_config_provider.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/muratcelep/terraform/not-internal/addrs"
     5  	"github.com/muratcelep/terraform/not-internal/configs"
     6  )
     7  
     8  // GraphNodeAttachProvider is an interface that must be implemented by nodes
     9  // that want provider configurations attached.
    10  type GraphNodeAttachProvider interface {
    11  	// ProviderName with no module prefix. Example: "aws".
    12  	ProviderAddr() addrs.AbsProviderConfig
    13  
    14  	// Sets the configuration
    15  	AttachProvider(*configs.Provider)
    16  }