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