mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-24 16:10:46 -06:00
d905b990a5
Make the interface name reflect the new return type of the method. Remove the confusingly named and unused ResourceAddress method from the resource nodes as well.
16 lines
429 B
Go
16 lines
429 B
Go
package terraform
|
|
|
|
import (
|
|
"github.com/hashicorp/terraform/addrs"
|
|
"github.com/hashicorp/terraform/configs"
|
|
)
|
|
|
|
// GraphNodeAttachProviderMetaConfigs is an interface that must be implemented
|
|
// by nodes that want provider meta configurations attached.
|
|
type GraphNodeAttachProviderMetaConfigs interface {
|
|
GraphNodeConfigResource
|
|
|
|
// Sets the configuration
|
|
AttachProviderMetaConfigs(map[addrs.Provider]*configs.ProviderMeta)
|
|
}
|