terraform: destroy resource should have no references

This commit is contained in:
Mitchell Hashimoto 2016-09-22 10:10:57 -07:00
parent aaee4df363
commit 23665790f3
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 10 additions and 0 deletions

View File

@ -28,6 +28,16 @@ func (n *NodeDestroyResource) CreateBeforeDestroy() bool {
return n.Config.Lifecycle.CreateBeforeDestroy
}
// GraphNodeReferenceable, overriding NodeAbstractResource
func (n *NodeDestroyResource) ReferenceableName() []string {
return nil
}
// GraphNodeReferencer, overriding NodeAbstractResource
func (n *NodeDestroyResource) References() []string {
return nil
}
// GraphNodeEvalable
func (n *NodeDestroyResource) EvalTree() EvalNode {
// stateId is the ID to put into the state