github.com/cycloidio/terraform@v1.1.10-0.20220513142504-76d5c768dc63/terraform/transform_attach_config_provider.go (about) 1 package terraform 2 3 import ( 4 "github.com/cycloidio/terraform/addrs" 5 "github.com/cycloidio/terraform/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 }