]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - 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
1 package terraform
2
3 import (
4 "github.com/hashicorp/terraform/addrs"
5 "github.com/hashicorp/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 // Must be implemented to determine the path for the configuration
12 GraphNodeSubPath
13
14 // ProviderName with no module prefix. Example: "aws".
15 ProviderAddr() addrs.AbsProviderConfig
16
17 // Sets the configuration
18 AttachProvider(*configs.Provider)
19 }