terraform/internal/stacks/stackruntime/hooks/component.go
2026-02-17 13:56:34 +00:00

20 lines
677 B
Go

// Copyright IBM Corp. 2014, 2026
// SPDX-License-Identifier: BUSL-1.1
package hooks
import "github.com/hashicorp/terraform/internal/stacks/stackaddrs"
// ComponentInstances is the argument type for the ComponentExpanded hook
// callback, which signals the result of expanding a component into zero or
// more instances.
type ComponentInstances struct {
ComponentAddr stackaddrs.AbsComponent
InstanceAddrs []stackaddrs.AbsComponentInstance
}
// RemovedComponentInstances is the argument type for the RemovedComponentExpanded hook callback.
type RemovedComponentInstances struct {
Source stackaddrs.StackInstance
InstanceAddrs []stackaddrs.AbsComponentInstance
}