]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - terraform/transform_attach_config_provider.go
Merge branch 'fix_read_test' of github.com:alexandreFre/terraform-provider-statuscake
[github/fretlink/terraform-provider-statuscake.git] / terraform / transform_attach_config_provider.go
1 package terraform
2
3 import (
4 "github.com/hashicorp/terraform/config"
5 )
6
7 // GraphNodeAttachProvider is an interface that must be implemented by nodes
8 // that want provider configurations attached.
9 type GraphNodeAttachProvider interface {
10 // Must be implemented to determine the path for the configuration
11 GraphNodeSubPath
12
13 // ProviderName with no module prefix. Example: "aws".
14 ProviderName() string
15
16 // Sets the configuration
17 AttachProvider(*config.ProviderConfig)
18 }