diff --git a/website/pages/docs/from-1.5/blocks/locals.mdx b/website/pages/docs/from-1.5/blocks/locals.mdx index d3b823f34..0a3c767c3 100644 --- a/website/pages/docs/from-1.5/blocks/locals.mdx +++ b/website/pages/docs/from-1.5/blocks/locals.mdx @@ -16,8 +16,6 @@ your Packer configuration. `@include 'from-1.5/locals/example-block.mdx'` -Local can be bare values or a mix of locals and or input variables. - # More on variables - Read the [full locals](/docs/from-1.5/locals) description for a more diff --git a/website/pages/partials/from-1.5/locals/example-block.mdx b/website/pages/partials/from-1.5/locals/example-block.mdx index 6fb024088..c0cb5e663 100644 --- a/website/pages/partials/from-1.5/locals/example-block.mdx +++ b/website/pages/partials/from-1.5/locals/example-block.mdx @@ -1,7 +1,9 @@ ```hcl # locals.pkr.hcl locals { - baz = "Foo is '${var.foo}'" + # locals can be bare values like: wee = local.baz + # locals can also be set with input variables : + baz = "Foo is '${var.foo}'" } ``` \ No newline at end of file