]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/hashicorp/terraform/terraform/transform_attach_config_provider.go
Upgrade to 0.12
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / hashicorp / terraform / terraform / transform_attach_config_provider.go
index 39cf097aecc57e29baa16c99edb1b8db61c54cc1..897a7e791762c232d330d0def8d7dcf8a2d0bc87 100644 (file)
@@ -1,7 +1,8 @@
 package terraform
 
 import (
-       "github.com/hashicorp/terraform/config"
+       "github.com/hashicorp/terraform/addrs"
+       "github.com/hashicorp/terraform/configs"
 )
 
 // GraphNodeAttachProvider is an interface that must be implemented by nodes
@@ -11,8 +12,8 @@ type GraphNodeAttachProvider interface {
        GraphNodeSubPath
 
        // ProviderName with no module prefix. Example: "aws".
-       ProviderName() string
+       ProviderAddr() addrs.AbsProviderConfig
 
        // Sets the configuration
-       AttachProvider(*config.ProviderConfig)
+       AttachProvider(*configs.Provider)
 }