github.com/kanishk98/terraform@v1.3.0-dev.0.20220917174235-661ca8088a6a/internal/terraform/transform_attach_config_provider_meta.go (about)

     1  package terraform
     2  
     3  import (
     4  	"github.com/hashicorp/terraform/internal/addrs"
     5  	"github.com/hashicorp/terraform/internal/configs"
     6  )
     7  
     8  // GraphNodeAttachProviderMetaConfigs is an interface that must be implemented
     9  // by nodes that want provider meta configurations attached.
    10  type GraphNodeAttachProviderMetaConfigs interface {
    11  	GraphNodeConfigResource
    12  
    13  	// Sets the configuration
    14  	AttachProviderMetaConfigs(map[addrs.Provider]*configs.ProviderMeta)
    15  }