add build sources to hcl examples

This commit is contained in:
Megan Marsh 2020-07-30 15:07:15 -07:00
parent 6248da58c5
commit 37f21dde5c
1 changed files with 9 additions and 1 deletions

View File

@ -92,6 +92,10 @@ source "docker" "example" {
image = "ubuntu"
commit = true
}
build {
sources = ["source.docker.example"]
}
```
</Tab>
@ -429,6 +433,10 @@ source "docker" "windows" {
windows_container = true
commit = true
}
build {
sources = ["source.docker.example"]
}
```
</Tab>