Add hcl Example to docker-save

This commit is contained in:
adeniyistephen 2020-12-21 17:01:39 +01:00
parent dc87825d5c
commit 7abe0a4759
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ a third-party post-processor.
<Tab heading="HCL2"> <Tab heading="HCL2">
```hcl ```hcl
post-processor "checksum" { post-processors "checksum" {
checksum_types = ["sha1", "sha256"] checksum_types = ["sha1", "sha256"]
output = "packer_{{.BuildName}}_{{.ChecksumType}}.checksum" output = "packer_{{.BuildName}}_{{.ChecksumType}}.checksum"
} }

View File

@ -56,7 +56,7 @@ An example is shown below, showing only the post-processor configuration:
<Tab heading="HCL2"> <Tab heading="HCL2">
```hcl ```hcl
post-processor "docker-save" { post-processors "docker-save" {
type = "docker-save" type = "docker-save"
path = "foo.tar" path = "foo.tar"
} }