HCL2: use source type and name as Name of a CoreBuild

This commit is contained in:
Adrien Delorme 2020-05-19 17:22:04 +02:00
parent 3cd13ae1e5
commit d431db0a38
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ func (cfg *PackerConfig) GetBuilds(opts packer.GetBuildsOptions) ([]packer.Build
}
pcb := &packer.CoreBuild{
Type: src.Type,
Type: src.Ref().String(),
Builder: builder,
Provisioners: provisioners,
PostProcessors: pps,