Commit Graph

53 Commits (548893bbee4e5a49bbbb07a81d19b2e2641fa421)

Author SHA1 Message Date
Lucas Bajolet 318529f373 hcl2template: remove value validation for locals
3 years ago
Lucas Bajolet eb9e1a4795 packer: remove implicit required plugins
3 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
Lucas Bajolet a2930bda4f packer: warn on bundled plugins usage
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Wilken Rivera 57cbe4e203
core: Update validation options for undeclared variables (#12104)
3 years ago
Lucas Bajolet 1cee460d0d hcp: extract all HCP-related code to hcp package
3 years ago
Lucas Bajolet 7cd095062a parser: extract HCP logic out of the HCL parser
4 years ago
Adrien Delorme 5d17d7fe65
prevent duplicate local block creation (#11534)
4 years ago
Wilken Rivera a534c743cf
HCP Packer registry enabled Packer client (#11154)
5 years ago
Adrien Delorme 03d79a2c39
HCL2 variables: split validation from getting value (#10843)
5 years ago
Adrien Delorme 77a29fc2f8
Allow to have `dynamic` blocks in a `build` block + tests (#10825)
5 years ago
Adrien Delorme f32b67c3bb
Simplify error message when config file can't be "stat'd" (#10763)
5 years ago
Adrien Delorme 72e4dc4cb5 update docs to remove 'magic' required_plugin block usages
5 years ago
Sylvia Moss 3ddb17ad86
Don't allow data sources to be used inside data sources (#10559)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Megan Marsh fbbda0f9d9
Sensitive locals (#10509)
5 years ago
Sylvia Moss 291121dd55
(2) Implement datasources (#10440)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Wilken Rivera 4e58987026
command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377)
5 years ago
Megan Marsh 39ab646236
move plugin and rpc code into sdk; other minor tweaks (#10359)
5 years ago
Megan Marsh a6fdeca099 move logsecretfilter into packer sdk
5 years ago
Megan Marsh bc85854a53 refactor packer version out of hcltemplate code.
5 years ago
Adrien Delorme 4bc16455b4
HCL2: add a packer block with a required_version input setting (#10149)
5 years ago
Adrien Delorme 4cb218749b remove unecessary check
5 years ago
Adrien Delorme ebb1cb406c ignore walk error
5 years ago
Adrien Delorme bb22cfcf34 HCL2: pass sensitive variables to packer.LogSecretFilter
5 years ago
Sylvia Moss 9181a435aa
Make max_retries a string to allow variable interpolation (#9673)
6 years ago
Adrien Delorme 44616d3bff
refactor initialization out from packer configs + tests (#9627)
6 years ago
Adrien Delorme 125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
6 years ago
Adrien Delorme bac9c74447
packer console for HCL2 (#9359)
6 years ago
Adrien Delorme 059a782b0e remove debug log
6 years ago
Adrien Delorme 125ffe36c3 Allow to override some source fields from the build section
6 years ago
Adrien Delorme 526d040534 document Parser.Parse better
6 years ago
Adrien Delorme 5c2b8da63b get builds from PackerConfig instead of parser
6 years ago
Adrien Delorme 2df21496b3 hcl2template: let PackerConfig actually start a builder/provisioner/post-processor
6 years ago
Adrien Delorme 2af40c762b
HCL2: pass on builder type and name (#8956)
6 years ago
Adrien Delorme d068430abf
make sure locals are evaluated only once variables are + test this (#8918)
6 years ago
Adrien Delorme ad8dafa3bd
HCL: add tests and fixes around var-file and var args (#8914)
6 years ago
Adrien Delorme c8300b620a allow to use hcl files as var files in HCL mode
6 years ago
Adrien Delorme 0ccff0d5b9 all variables must have a value.
6 years ago
Adrien Delorme 6d8cce501e tweak validation & add tests
6 years ago
Adrien Delorme e851050774 don't force to set unused variables too
6 years ago
Adrien Delorme 59cc246942 Merge remote-tracking branch 'origin/master' into fix_8730
6 years ago
Adrien Delorme 50896d4ddf WIP
6 years ago
Sylvia Moss 591b684f08
Fix HCL2 local variables decoding to allow local usage within another local in the same locals block (#8755)
6 years ago
Adrien Delorme a8fcb2d91a
HCL2: add support for dynamic blocks, document for loops and splat expressions (#8720)
6 years ago
Adrien Delorme cebfb1c735 give correct error when variable is unset
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Adrien Delorme 0102f5b6fa remove unecessary inexistant block panic + add test
6 years ago