You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/internal/stacks/stackruntime/hooks/component.go

21 lines
676 B

// Copyright (c) HashiCorp, Inc.
// 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
}