diff --git a/builder/triton/source_machine_config.go b/builder/triton/source_machine_config.go index de370f779..945edb9fa 100644 --- a/builder/triton/source_machine_config.go +++ b/builder/triton/source_machine_config.go @@ -112,9 +112,7 @@ func (c *SourceMachineConfig) Prepare(ctx *interpolate.Context) []error { c.MachineTags = make(map[string]string) } - if len(errs) > 0 { - return errs - } + errs = append(errs, c.MachineTag.CopyOn(c.MachineTags)...) - return nil + return errs }