4 "github.com/hashicorp/terraform/addrs"
5 "github.com/hashicorp/terraform/configs"
8 // GraphNodeAttachProvider is an interface that must be implemented by nodes
9 // that want provider configurations attached.
10 type GraphNodeAttachProvider interface {
11 // Must be implemented to determine the path for the configuration
14 // ProviderName with no module prefix. Example: "aws".
15 ProviderAddr() addrs.AbsProviderConfig
17 // Sets the configuration
18 AttachProvider(*configs.Provider)