4 "github.com/hashicorp/terraform/addrs"
7 // ProvisionerUIOutput is an implementation of UIOutput that calls a hook
8 // for the output so that the hooks can handle it.
9 type ProvisionerUIOutput struct {
10 InstanceAddr addrs.AbsResourceInstance
11 ProvisionerType string
15 func (o *ProvisionerUIOutput) Output(msg string) {
16 for _, h := range o.Hooks {
17 h.ProvisionOutput(o.InstanceAddr, o.ProvisionerType, msg)