Merge pull request #9257 from hashicorp/azr-hcl2-use-source-type-and-name
HCL2: use source type and name as Name of a CoreBuild
This commit is contained in:
commit
24dd7e9dbb
|
@ -10,6 +10,8 @@
|
|||
* **New post-processor** Yandex Export [GH-9124]
|
||||
|
||||
### IMPROVEMENTS:
|
||||
* core: HCL logs now display source type and source name (`type.name`) in logs
|
||||
to differentiate more easily who says what. [GH-9257]
|
||||
* builder/amazon: Add SSM Session Manager as a SSH interface connection
|
||||
[GH-9082]
|
||||
* builder/google: Implement iap proxy for googlecompute [GH-9105]
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -100,7 +100,7 @@ func TestParser_complete(t *testing.T) {
|
|||
false, false,
|
||||
[]packer.Build{
|
||||
&packer.CoreBuild{
|
||||
Type: "virtualbox-iso",
|
||||
Type: "virtualbox-iso.ubuntu-1204",
|
||||
Prepared: true,
|
||||
Builder: basicMockBuilder,
|
||||
Provisioners: []packer.CoreBuildProvisioner{
|
||||
|
@ -199,7 +199,7 @@ func TestParser_complete(t *testing.T) {
|
|||
false, false,
|
||||
[]packer.Build{
|
||||
&packer.CoreBuild{
|
||||
Type: "virtualbox-iso",
|
||||
Type: "virtualbox-iso.ubuntu-1204",
|
||||
Prepared: true,
|
||||
Builder: emptyMockBuilder,
|
||||
Provisioners: []packer.CoreBuildProvisioner{
|
||||
|
@ -242,7 +242,7 @@ func TestParser_complete(t *testing.T) {
|
|||
false, false,
|
||||
[]packer.Build{
|
||||
&packer.CoreBuild{
|
||||
Type: "virtualbox-iso",
|
||||
Type: "virtualbox-iso.ubuntu-1204",
|
||||
Prepared: true,
|
||||
Builder: emptyMockBuilder,
|
||||
Provisioners: []packer.CoreBuildProvisioner{
|
||||
|
|
Loading…
Reference in New Issue