mirror of https://github.com/hashicorp/packer
Merge pull request #9245 from AdrienneCohea/master
Support named builds in HCL2 templatespull/9352/head
commit
19ae0ecf4c
@ -0,0 +1,8 @@
|
||||
build {
|
||||
name = "somebuild"
|
||||
|
||||
sources = [
|
||||
"source.amazon-ebs.ubuntu-1604",
|
||||
"source.virtualbox-iso.ubuntu-1204",
|
||||
]
|
||||
}
|
||||
@ -1,6 +1,6 @@
|
||||
```hcl
|
||||
# sources.pkr.hcl
|
||||
source "amazon-ebs" "example" {
|
||||
source "amazon-ebs" "example-1" {
|
||||
// ...
|
||||
}
|
||||
```
|
||||
Loading…
Reference in new issue