From 3e55c4e72be86346d403da61d6634da5dd5a8374 Mon Sep 17 00:00:00 2001 From: Martin Atkins Date: Wed, 30 May 2018 10:17:54 -0700 Subject: [PATCH] Revert "destroy nodes can't be referenced directly" This reverts commit e708d4ebe9b2f571183250ab79ac217ae9498fcc. --- terraform/node_resource_destroy.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/terraform/node_resource_destroy.go b/terraform/node_resource_destroy.go index e56fb9ede..40864a03a 100644 --- a/terraform/node_resource_destroy.go +++ b/terraform/node_resource_destroy.go @@ -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