github.com/wikibal01/hashicorp-terraform@v0.11.12-beta1/terraform/transform_attach_config_provider.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/config"
     5  )
     6  
     7  // GraphNodeAttachProvider is an interface that must be implemented by nodes
     8  // that want provider configurations attached.
     9  type GraphNodeAttachProvider interface {
    10  	// Must be implemented to determine the path for the configuration
    11  	GraphNodeSubPath
    12  
    13  	// ProviderName with no module prefix. Example: "aws".
    14  	ProviderName() string
    15  
    16  	// Sets the configuration
    17  	AttachProvider(*config.ProviderConfig)
    18  }