packer-cn/website/content/partials/from-1.5
Megan Marsh fbbda0f9d9
Sensitive locals (#10509)
* Allow locals to be delcared as individual blocks, and give them the Sensitive flag

* add docs for new local block

* linting

* add tests

* modified parsing to use schema, check for dupes properly

* update comment

fix wording a liiitle

* add tests for duplicate variables definition in two different files

* remove unnecessary slice initialisation

* fix crash by returning when decode error is hit

* parseLocalVariables: only treat a local vars if its not nil

also return in case of error
return locals in case of error too

* fix duplicate_locals test for windows

Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2021-01-26 10:21:44 +01:00
..
builds refactor to mdx remote 2020-12-14 18:20:01 -05:00
datasources add data sources docs 2021-01-15 14:18:51 -08:00
locals Sensitive locals (#10509) 2021-01-26 10:21:44 +01:00
sources refactor to mdx remote 2020-12-14 18:20:01 -05:00
variables fix redirects according to Moss's suggestion, and fix double-slash docs prepending 2021-01-15 11:59:36 -08:00
beta-hcl2-note.mdx Hcl beta tag (#10493) 2021-01-18 15:08:04 +01:00
contextual-source-variables.mdx refactor to mdx remote 2020-12-14 18:20:01 -05:00
legacy-json-warning.mdx Hcl beta tag (#10493) 2021-01-18 15:08:04 +01:00