terraform: add edge for missing providers
This commit is contained in:
parent
23b6acc29d
commit
bbb065d1ad
|
@ -2,4 +2,3 @@ module "child" {
|
|||
source = "./child"
|
||||
instance_count = "2"
|
||||
}
|
||||
|
||||
|
|
|
@ -218,6 +218,11 @@ func (n *graphNodeMissingProvider) EvalTree() EvalNode {
|
|||
return ProviderEvalTree(n.ProviderNameValue, nil)
|
||||
}
|
||||
|
||||
// GraphNodeDependable impl.
|
||||
func (n *graphNodeMissingProvider) DependableName() []string {
|
||||
return []string{n.Name()}
|
||||
}
|
||||
|
||||
func (n *graphNodeMissingProvider) ProviderName() string {
|
||||
return n.ProviderNameValue
|
||||
}
|
||||
|
@ -280,6 +285,11 @@ func (n *graphNodeMissingProviderFlat) ProviderName() string {
|
|||
n.graphNodeMissingProvider.ProviderName())
|
||||
}
|
||||
|
||||
// GraphNodeDependable impl.
|
||||
func (n *graphNodeMissingProviderFlat) DependableName() []string {
|
||||
return []string{n.Name()}
|
||||
}
|
||||
|
||||
func (n *graphNodeMissingProviderFlat) DependentOn() []string {
|
||||
var result []string
|
||||
|
||||
|
|
Loading…
Reference in New Issue