terraform/internal/stacks/stackruntime/hooks/component.go

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
677 B
Go
Raw Permalink Normal View History

// 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
}