Revert "destroy nodes can't be referenced directly"
This reverts commit e708d4ebe9b2f571183250ab79ac217ae9498fcc.
This commit is contained in:
parent
2f6787c9b2
commit
3e55c4e72b
|
@ -71,12 +71,6 @@ func (n *NodeDestroyResourceInstance) ReferenceableName() []addrs.Referenceable
|
|||
}
|
||||
}
|
||||
|
||||
// Destroy nodes can't be directly referenced by anything, so we need to
|
||||
// override the abstract method.
|
||||
func (n *NodeDestroyResourceInstance) ReferenceableAddrs() []addrs.Referenceable {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GraphNodeReferencer, overriding NodeAbstractResource
|
||||
func (n *NodeDestroyResourceInstance) References() []*addrs.Reference {
|
||||
// If we have a config, then we need to include destroy-time dependencies
|
||||
|
|
Loading…
Reference in New Issue