mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
terraform: get proper state representation of expanded resources
This commit is contained in:
parent
4ccb12508a
commit
8fc75ebb28
@ -195,6 +195,11 @@ func (n *graphNodeExpandedResource) stateId() string {
|
||||
return fmt.Sprintf("%s.%d", n.Resource.Id(), n.Index)
|
||||
}
|
||||
|
||||
// GraphNodeStateRepresentative impl.
|
||||
func (n *graphNodeExpandedResource) StateId() []string {
|
||||
return []string{n.stateId()}
|
||||
}
|
||||
|
||||
// graphNodeExpandedResourceDestroy represents an expanded resource that
|
||||
// is to be destroyed.
|
||||
type graphNodeExpandedResourceDestroy struct {
|
||||
|
Loading…
Reference in New Issue
Block a user