packer/hcl2template
anshulSharma e8d5ddb38a
formatting multiple hcl files (#13362)
* formatting multiple hcl files

* recursive formating

* test case fixing

* test case fix

* removed not required code

* existing test code fix

* go formatting

* more test cases for new cases

* doc changes

* added additional check on error message in negative test case
2025-05-02 10:16:00 +05:30
..
addrs addrs: require at least 3 parts to source URIs 2024-05-15 14:12:41 -04:00
fixtures hcl2: fix crash on malformed overrides (#11881) 2022-07-20 14:30:49 -04:00
function Merging main 2025-04-24 22:54:07 +05:30
internal [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
repl [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
shim [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
testdata formatting multiple hcl files (#13362) 2025-05-02 10:16:00 +05:30
common_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
components.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
decode.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
docs.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
formatter.go formatting multiple hcl files (#13362) 2025-05-02 10:16:00 +05:30
formatter_test.go formatting multiple hcl files (#13362) 2025-05-02 10:16:00 +05:30
functions.go Merging main 2025-04-24 22:54:07 +05:30
parser.go Preserve User-Defined Variable File Order (#13350) 2025-04-15 10:35:16 +05:30
plugin.go packer: register plugin components only once 2024-05-14 11:41:18 -04:00
types.build.from.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build.hcp_packer_registry.go hcl2template: don't error on empty bucket slug 2024-12-12 11:29:01 -05:00
types.build.hcp_packer_registry_test.go hcp: use GetHCPPackerRegistryBlock in the hcl module 2025-03-11 14:49:59 -04:00
types.build.post-processor.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build.provisioners.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build.provisioners_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.build_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
types.datasource.go hcl2template: use refString for local/data deps 2024-10-29 16:10:29 -04:00
types.datasource_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
types.hcl_post-processor.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.hcl_provisioner.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.hcl_ref.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.packer_config.go hcp: use GetHCPPackerRegistryBlock in the hcl module 2025-03-11 14:49:59 -04:00
types.packer_config_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
types.refstring.go hcl2template: rename Name->LocalName for local 2024-10-29 16:10:29 -04:00
types.required_plugins.go fix: packer validate unsupported type error 2025-01-21 10:06:45 -05:00
types.required_plugins_test.go packer: relax constraints on sources 2024-04-29 14:28:24 -04:00
types.source.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
types.source_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
types.variables.go hcl2template: rename Name->LocalName for local 2024-10-29 16:10:29 -04:00
types.variables_test.go hcl: add get GetHCPPackerRegistry method to PackerConfig 2025-03-11 14:49:59 -04:00
utils.go hcl2template: split GetVarsByType in two functions 2024-06-17 16:51:58 -04:00
version.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
version_required.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00