Adrien Delorme
fcaf766569
add docs for sensitive variables
2020-10-05 15:34:35 +02:00
Adrien Delorme
a70164f489
HCL2: when the type of a variable is not known evaluate setting as a litteral. ( #9863 )
...
* tests
* docs
2020-09-02 16:26:50 +02:00
Megan Marsh
cf1a39a4e8
add variable gotcha to the variables docs not just the from-json hcl guides.
2020-08-26 10:54:39 -07:00
Adrien Delorme
7de6c21a8a
HCL: document contextual source variable usage ( #9799 )
...
It is possible to use ${source.name} and ${source.type}, this was not documented before
2020-08-21 13:37:08 +02:00
jsmcnair
78c280b1b7
Use common funcs / fix panic / clarify docs
2020-08-12 22:34:13 +01:00
jsmcnair
8666ebceca
Fix broken header
2020-08-11 09:48:00 +01:00
jsmcnair
33e3f62ff7
Add vault function for HCL2 and document
2020-08-11 09:18:15 +01:00
Adrien Delorme
c7b35dd6bc
HCL2: add post-processors block to run multiple post-processor after a build ( #9638 )
...
added `post-processors` block to run chained post-processors after a build.
Before this, defining multiple `post-processor` blocks after
provisioning steps would run them sequentially, now doing this makes them start
from the build's artifact. To queue post-processors you now have to define them
in a `post-processors` block.
This is a breaking change.
2020-07-28 10:02:37 +02:00
Adrien Delorme
125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. ( #9622 )
...
* core: Decode when in HCL2 decoding mode; reset the whole struct before preparing it.
* HCL2: add path variables + docs & tests
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-07-23 09:25:07 +02:00
Jonathan Neal
d8b67f8520
📌 Hard Pin Website Dependencies ( #9543 )
...
* Update and pin dependencies
* Update NextJS Scripts
* npm run lint
* npm run format
* docs generator: indent docs by two and make spacing better
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-13 12:33:16 +02:00
Adrien Delorme
3d371a2d5d
Add complete HCL2 examples + allow to name a singular build.source blocks ( #9490 )
...
* in the examples/hcl folder
* add possibility to name singular build.source blocks to differentiate their output and to filter on them
2020-07-02 11:07:59 +02:00
Sylvia Moss
99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables ( #9444 )
2020-06-29 13:44:57 +02:00
Adrien Delorme
c2975140cf
HCL2: allow to use keep_input_artifact in post processors ( #9477 )
...
* HCL2: allow to use keep_input_artifact in post processors
* add basic test
* add docs
2020-06-25 09:36:48 +02:00
Adrien Delorme
fb337f8867
hcl work on only/except ( #9454 )
...
* HCL2: allow to skip a named build block too
* test that excepting a build block works
* test only on a named build block
* add/update docs
2020-06-23 10:53:16 +02:00
Adrien Delorme
451d4c2620
hcl2 docs pass ( #9375 )
...
* moved blocks and functions top the nav list for easier access ( I think those will be used a lot)
* added a concrete fileset example
* added more concrete examples in the blocks doc
2020-06-09 12:42:01 +02:00
Adrien Delorme
eeabae88e3
Update abspath.mdx
2020-06-08 15:29:45 +02:00
Adrien Delorme
cf6eca7e1c
Revert "Add pwd function to HCL"
...
This reverts commit 2800043149
.
2020-06-08 14:59:27 +02:00
Adrien Delorme
44dfa221de
Revert "Add template_dir function to HCL"
...
This reverts commit 3b9a0427cd
.
2020-06-08 14:59:22 +02:00
Megan Marsh
d73f83a9d9
Merge pull request #9367 from jeremiahsnapp/add-template_dir-and-pwd-functions
...
Add template_dir() and pwd() functions to HCL
2020-06-05 12:57:04 -07:00
Megan Marsh
2c89d086dc
typo in docs
2020-06-05 12:44:32 -07:00
Jeremiah Snapp
3f2b8587b1
Replace regexreplace docs typo with regex_replace
...
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2020-06-05 13:17:18 -04:00
Jeremiah Snapp
3b9a0427cd
Add template_dir function to HCL
...
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2020-06-05 13:14:36 -04:00
Jeremiah Snapp
2800043149
Add pwd function to HCL
...
Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2020-06-05 13:14:03 -04:00
Moss
110b1411d7
Update provisioners and post-processor hcl2 docs
2020-06-05 15:49:09 +02:00
Megan Marsh
02590f6c44
Merge pull request #9329 from hashicorp/je.website-maintenance-5-29-20
...
🌷 Website Spring Maintenance
2020-06-03 16:25:23 -07:00
Adrien Delorme
52ba74e3c9
better docs
2020-06-02 16:33:32 +02:00
Adrien Delorme
1147ef9a36
Merge pull request #9291 from hashicorp/f-singular-build-source-blocks
...
Allow to set source fields from a new `build.source` block
2020-06-02 12:38:45 +02:00
Adrien Delorme
83b3eb3be2
better words on the hcl2 merge
2020-06-02 12:35:32 +02:00
Adrien Delorme
80885fd410
Update website/pages/docs/from-1.5/blocks/variable.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 12:13:50 +02:00
Adrien Delorme
935ac55d24
more examples for the source block
2020-06-02 12:11:55 +02:00
Adrien Delorme
9a22e85e91
Update source.mdx
2020-06-02 12:01:49 +02:00
Adrien Delorme
171809b033
Update source.mdx
2020-06-02 12:01:21 +02:00
Adrien Delorme
3640bd9f01
Update website/pages/docs/from-1.5/blocks/variable.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:58:01 +02:00
Adrien Delorme
4349a55e61
Explain that input values can be used in locals from example locals block
2020-06-02 11:57:32 +02:00
Adrien Delorme
ffcf073007
Update source.mdx
...
remove double space
2020-06-02 11:53:14 +02:00
Adrien Delorme
5c6e4e47d7
Update website/pages/docs/from-1.5/blocks/variable.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:51:33 +02:00
Adrien Delorme
7c3cc995a9
Update website/pages/docs/from-1.5/blocks/source.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:51:19 +02:00
Adrien Delorme
456b0fa0a4
Update website/pages/docs/from-1.5/blocks/source.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:46 +02:00
Adrien Delorme
f4c393097a
Update website/pages/docs/from-1.5/blocks/source.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:28 +02:00
Adrien Delorme
5cee17ca5f
Update website/pages/docs/from-1.5/blocks/locals.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:17 +02:00
Adrien Delorme
279f9365af
Update website/pages/docs/from-1.5/blocks/index.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:50:00 +02:00
Adrien Delorme
e2090dafd4
Update website/pages/docs/from-1.5/blocks/build/source.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:49:40 +02:00
Adrien Delorme
9ef3020bd5
Update website/pages/docs/from-1.5/blocks/build/index.mdx
...
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-06-02 11:49:14 +02:00
Jeff Escalante
66c34f5110
shell snippet fixes, nextjs-scripts upgrades
2020-05-29 17:12:05 -04:00
Adrien Delorme
324367b808
Update variable.mdx
2020-05-28 17:09:57 +02:00
Adrien Delorme
95d37ffc06
add headers
2020-05-28 17:04:34 +02:00
Adrien Delorme
12c168b2d1
better docs
2020-05-28 16:49:54 +02:00
Adrien Delorme
beceb90844
better docs
2020-05-28 16:22:07 +02:00
Adrien Delorme
11104af3a2
website/pages/docs/from-1.5/blocks/build/index.mdx: better docs arround source(s)
2020-05-28 16:16:59 +02:00
Adrien Delorme
b805a01e1a
Update website/pages/docs/from-1.5/blocks/build/provisioner.mdx
...
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-05-28 10:45:24 +02:00