github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/internal/durgaform/transform_attach_config_provider_meta.go (about)

     1  package durgaform
     2  
     3  import (
     4  	"github.com/eliastor/durgaform/internal/addrs"
     5  	"github.com/eliastor/durgaform/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  }