2020-03-05 18:53:24 -06:00
|
|
|
package terraform
|
|
|
|
|
|
|
|
import (
|
2021-05-17 14:00:50 -05:00
|
|
|
"github.com/hashicorp/terraform/internal/addrs"
|
2021-05-17 14:17:09 -05:00
|
|
|
"github.com/hashicorp/terraform/internal/configs"
|
2020-03-05 18:53:24 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
// GraphNodeAttachProviderMetaConfigs is an interface that must be implemented
|
|
|
|
// by nodes that want provider meta configurations attached.
|
|
|
|
type GraphNodeAttachProviderMetaConfigs interface {
|
2020-03-15 10:32:06 -05:00
|
|
|
GraphNodeConfigResource
|
2020-03-05 18:53:24 -06:00
|
|
|
|
|
|
|
// Sets the configuration
|
|
|
|
AttachProviderMetaConfigs(map[addrs.Provider]*configs.ProviderMeta)
|
|
|
|
}
|