From 7abe0a4759b1d95072623bcdf0a625400b310a7e Mon Sep 17 00:00:00 2001 From: adeniyistephen Date: Mon, 21 Dec 2020 17:01:39 +0100 Subject: [PATCH] Add hcl Example to docker-save --- website/content/docs/post-processors/checksum.mdx | 2 +- website/content/docs/post-processors/docker-save.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/docs/post-processors/checksum.mdx b/website/content/docs/post-processors/checksum.mdx index 4dd423bd6..643f5f7c1 100644 --- a/website/content/docs/post-processors/checksum.mdx +++ b/website/content/docs/post-processors/checksum.mdx @@ -43,7 +43,7 @@ a third-party post-processor. ```hcl -post-processor "checksum" { +post-processors "checksum" { checksum_types = ["sha1", "sha256"] output = "packer_{{.BuildName}}_{{.ChecksumType}}.checksum" } diff --git a/website/content/docs/post-processors/docker-save.mdx b/website/content/docs/post-processors/docker-save.mdx index 4adba9048..f0c47044c 100644 --- a/website/content/docs/post-processors/docker-save.mdx +++ b/website/content/docs/post-processors/docker-save.mdx @@ -56,7 +56,7 @@ An example is shown below, showing only the post-processor configuration: ```hcl -post-processor "docker-save" { +post-processors "docker-save" { type = "docker-save" path = "foo.tar" }