Commit Graph

177 Commits (5576bb5caa0c4ca68b04d6870e78e1e43e4e1ca9)

Author SHA1 Message Date
Megan Marsh 5576bb5caa move packer config constants next to the packer config
5 years ago
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh be5763ec41 move provisioner interface into sdk
5 years ago
Megan Marsh ada91b24e9 extract builder interface to sdk
5 years ago
Megan Marsh 56a45b04ab Move hook and communicator definitions to packer-plugin-sdk
5 years ago
Megan Marsh a6fdeca099 move logsecretfilter into packer sdk
5 years ago
Megan Marsh 14bdb9516c move Artifact and artifact mock to the sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh ea1ac530b0 move hcl2template kv types into the config/custom_types with trilean definitions
6 years ago
Megan Marsh 9e47696dff move helper/config to bundle with the other template definitions
6 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
6 years ago
Megan Marsh 3e54e9ea80
Merge pull request #10235 from hashicorp/refactor_version_code
6 years ago
Wilken Rivera acabc1c1aa
Add packer fmt command (#10225)
6 years ago
Adrien Delorme deba1484ff
HCL2: allow calling env as input var default value (#10240)
6 years ago
Megan Marsh bc85854a53 refactor packer version out of hcltemplate code.
6 years ago
Adrien Delorme fd873b8811 Referenceable: explain a bit more of the whys
6 years ago
Adrien Delorme 10eb32d29e require less English
6 years ago
Adrien Delorme 2987d25335 simplify tests
6 years ago
Adrien Delorme 20b7fd9687 add hcl2template/addrs/doc.go
6 years ago
Adrien Delorme 971254928a various fixes
6 years ago
Adrien Delorme 88175873e5 fix tests to actually check cty values & types
6 years ago
Adrien Delorme 6911495fc4 add VariableAssignment struct that help describe an input var assignment
6 years ago
Adrien Delorme 8de2f40a07 add tests for length
6 years ago
Adrien Delorme b892414e84 add failing test case
6 years ago
Adrien Delorme 9932fd1217 add Variable.validateValue func
6 years ago
Adrien Delorme 4d386dd806 add length function that can work with more types
6 years ago
Adrien Delorme 4e08ea6a92 add a test
6 years ago
Adrien Delorme 91d7332471 add basic code for variable validation parsing
6 years ago
Adrien Delorme 4bc16455b4
HCL2: add a packer block with a required_version input setting (#10149)
6 years ago
Adrien Delorme 6d4fae0f2d
Add HCL2 aws_secretsmanager function (#10124)
6 years ago
Megan Marsh cc7dbf6092
Add consul_key function to integrate concul with hcl2 tempaltes. (#10119)
6 years ago
Megan Marsh a8ee23a9f9
Merge pull request #10117 from hashicorp/packer_version_func_hcl
6 years ago
Megan Marsh 09c6d2880f implement packer_version variable in hcl
6 years ago
Megan Marsh 66b81d9bee
add build.name to hcl code (#10114)
6 years ago
Adrien Delorme 4cb218749b remove unecessary check
6 years ago
Adrien Delorme ebb1cb406c ignore walk error
6 years ago
Adrien Delorme bb22cfcf34 HCL2: pass sensitive variables to packer.LogSecretFilter
6 years ago
Adrien Delorme 180dc4a54e add test
6 years ago
Adrien Delorme f3e65b5eb1 use "github.com/hashicorp/go-cty-funcs/collection".CoalesceFunc
6 years ago
Adrien Delorme a70164f489
HCL2: when the type of a variable is not known evaluate setting as a litteral. (#9863)
6 years ago
Adrien Delorme bdf198594e hcl2 inspect: sort variables to have a consistent output
6 years ago
Adrien Delorme eb4069a1b7 hcl variables: return an unknown value in when no default is set
6 years ago
Adrien Delorme 91c5a4613c HCL2 inspect remove debug values
6 years ago
Adrien Delorme 5ba134ac5b
JSON to HCL2 (minimal best-effort) transpiler (#9659)
6 years ago
Megan Marsh d486459a00
Merge pull request #9764 from hashicorp/hcl2_provisioner_override
6 years ago
sylviamoss 62c3743890 implemet override provisioner's option for hcl2
6 years ago
jsmcnair 78c280b1b7 Use common funcs / fix panic / clarify docs
6 years ago
jsmcnair 33e3f62ff7 Add vault function for HCL2 and document
6 years ago
Sylvia Moss 9181a435aa
Make max_retries a string to allow variable interpolation (#9673)
6 years ago
Megan Marsh 2bd2954412 fix cty bool passing for provisioners, too
6 years ago