mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-14 13:01:34 -04:00
terraform: expanded resource nodes implement graphNodeConfig
This commit is contained in:
@@ -119,6 +119,11 @@ func (n *graphNodeExpandedResource) ResourceAddress() *ResourceAddress {
|
||||
}
|
||||
}
|
||||
|
||||
// graphNodeConfig impl.
|
||||
func (n *graphNodeExpandedResource) ConfigType() GraphNodeConfigType {
|
||||
return GraphNodeConfigTypeResource
|
||||
}
|
||||
|
||||
// GraphNodeDependable impl.
|
||||
func (n *graphNodeExpandedResource) DependableName() []string {
|
||||
return []string{
|
||||
@@ -509,6 +514,11 @@ func (n *graphNodeExpandedResourceDestroy) Name() string {
|
||||
return fmt.Sprintf("%s (destroy)", n.graphNodeExpandedResource.Name())
|
||||
}
|
||||
|
||||
// graphNodeConfig impl.
|
||||
func (n *graphNodeExpandedResourceDestroy) ConfigType() GraphNodeConfigType {
|
||||
return GraphNodeConfigTypeResource
|
||||
}
|
||||
|
||||
// GraphNodeEvalable impl.
|
||||
func (n *graphNodeExpandedResourceDestroy) EvalTree() EvalNode {
|
||||
info := n.instanceInfo()
|
||||
|
||||
Reference in New Issue
Block a user