Revert "destroy nodes can't be referenced directly"

This reverts commit e708d4ebe9b2f571183250ab79ac217ae9498fcc.
This commit is contained in:
Martin Atkins 2018-05-30 10:17:54 -07:00
parent 2f6787c9b2
commit 3e55c4e72b
1 changed files with 0 additions and 6 deletions

View File

@ -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