Revert "destroy nodes can't be referenced directly"

This reverts commit e708d4ebe9.
pull/19086/head
Martin Atkins 8 years ago
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…
Cancel
Save