From 39c1fd493580b1aa2f758b8a89098a470c5223de Mon Sep 17 00:00:00 2001 From: GaryNg Date: Tue, 18 Jul 2023 13:47:06 +0000 Subject: [PATCH 1/3] backport of commit 76f93de06e325aefd29f108ac14b913c4aad2d25 --- .../docs/templates/hcl_templates/functions/contextual/vault.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx b/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx index f36e8f65823..c4b25b9798f 100644 --- a/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx +++ b/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx @@ -49,6 +49,7 @@ local "foo" { expression = vault("secrets/hello", "foo") sensitive = true } +``` The `local` block example accesses the Vault path `secrets/foo` and returns the value stored at the key `foo`, storing it as the local variable `local.foo`. However, the output of From 01de3202a4fd8ec75987b3bd868da71704d254e7 Mon Sep 17 00:00:00 2001 From: GaryNg Date: Tue, 18 Jul 2023 13:52:26 +0000 Subject: [PATCH 2/3] backport of commit 6b197702414fb78ebdace27882e0baec90632fba --- .../docs/templates/hcl_templates/functions/contextual/vault.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx b/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx index c4b25b9798f..95454cf211c 100644 --- a/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx +++ b/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx @@ -54,7 +54,7 @@ local "foo" { The `local` block example accesses the Vault path `secrets/foo` and returns the value stored at the key `foo`, storing it as the local variable `local.foo`. However, the output of the newly stored local variable will be filtered from the Packer build output, and replaced -with the value ''. See [Local Values](/docs/templates/hcl_templates/locals) for more details. +with the value ''. See [Local Values](/packer/docs/templates/hcl_templates/locals) for more details. ## Usage From 817667ad9affdbf6bc370989ace5baa06c108b2f Mon Sep 17 00:00:00 2001 From: GaryNg Date: Wed, 19 Jul 2023 14:55:14 +0000 Subject: [PATCH 3/3] backport of commit 3320229c685310732485216f13af31c5bacf33da --- .../docs/templates/hcl_templates/functions/contextual/vault.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx b/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx index 95454cf211c..8136a10114d 100644 --- a/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx +++ b/website/content/docs/templates/hcl_templates/functions/contextual/vault.mdx @@ -54,7 +54,7 @@ local "foo" { The `local` block example accesses the Vault path `secrets/foo` and returns the value stored at the key `foo`, storing it as the local variable `local.foo`. However, the output of the newly stored local variable will be filtered from the Packer build output, and replaced -with the value ''. See [Local Values](/packer/docs/templates/hcl_templates/locals) for more details. +with the value ``. See [Local Values](/packer/docs/templates/hcl_templates/locals) for more details. ## Usage