Commit graph

18870 commits

Author SHA1 Message Date
Brian McClain
e69859a701
Update website/content/docs/plugins/install.mdx
Co-authored-by: rita <8647768+ritsok@users.noreply.github.com>
2025-08-01 16:17:59 -04:00
Brian McClain
6c16dedcad Update wording to only apply to specifically listed plugins 2025-08-01 11:46:56 -04:00
Brian McClain
a522e10b29 Add callouts for the move of HashiCorp-maintained plugins to releases.hashicorp.com 2025-08-01 10:45:48 -04:00
anshulSharma
1a01c0547b
change log update for packer 1.14.0 (#13436)
* change log update for packer 1.14.0

* review suggested change

* packer version change, the one to be released
2025-07-30 10:11:49 +05:30
anshulSharma
f1f02ee505
doc changes about CRT migration (#13433)
* doc changes about CRT migration

* docs changes suggested

* docs changes suggested

* docs changes suggested

* typo fix

* typo fix
2025-07-29 18:50:21 +05:30
anshulSharma
a234126747
changes for pulling binary from releases.hashicorp.com (#13431)
* changes for pulling binary from releases.hashicorp.com

* cahnges for getting release from release official site

* cahnges for getting release from release official site

* unit test cases

* unit test cases

* unit test coverage

* changes for getter releases.hashicorp.com

* lint fix

* lint fix

* lint fix

* manifest.json related changes

* manifest.json related changes

* manifest.json related changes

* manifest.json related changes

* github getter test cases

* added test cases for getters

* added test cases for getters

* added test cases for getters

* added test cases for getters

* added test cases for getters

* added test cases for plugins getter

* unit test cases for getting release from official site

* description to the methods
2025-07-29 08:50:23 +05:30
Ryan Johnson
e45ff9b093 docs: add conditional expressions
This update adds a new section explaining conditional expressions in HCL, including syntax, usage examples, and best practices for clarity and maintainability. The documentation covers how to use conditionals for default values, dynamic argument omission, and recommends using locals for complex logic.

Ref: #12806

Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
2025-07-23 11:57:16 -07:00
Nick Philbrook
d8438b06e0 Add note about *just metadata* 2025-07-14 14:08:37 -07:00
nphilbrook
517a0eac9c Update website/content/docs/templates/hcl_templates/blocks/build/hcp_packer_registry.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2025-07-14 14:08:37 -07:00
Nick Philbrook
d7cd980123 move hcp_packer_registry block out of the build block as per error message with current CLI 2025-07-14 14:08:37 -07:00
kp2099
7167626ca2
Merge pull request #13422 from hashicorp/karthik/seperate_default_commands
Seperating default execute commands for Inline and Scripts
2025-07-01 11:35:42 +05:30
Jenna Goldstrich
2fd2d7207c Bump go-git 2025-06-26 16:40:08 -07:00
Tanmay Jain
ee2330683f
Merge pull request #13388 from hashicorp/log-fix
Populating the PackerSensitiveVars variable
2025-06-25 09:10:18 +05:30
Tanmay Jain
24d73a2b6a Fixed Test Cases 2025-06-24 21:36:50 +05:30
Tanmay Jain
99b8f98a8b Updating a log to prevent secret leaks 2025-06-24 21:36:50 +05:30
Tanmay Jain
04dc274eaa IMPROV: Populating the PackerSensitiveVars variable 2025-06-24 21:36:50 +05:30
Tanmay Jain
f70933f6b5 Updating PackerSDK version 2025-06-24 21:36:50 +05:30
karthik P
19f04a2a93 fixing test cases 2025-06-24 19:54:58 +05:30
karthik P
43d7b468de Separate out the default execute commands for Inline and Scripts 2025-06-24 18:32:43 +05:30
Lucas Bajolet
4cd7ad4721
hcl2template: err on malformed local/data dep (#13340)
* hcl2template: err on malformed local/data dep

When introducing the DAG for locals and datasources, we forgot to handle
one limit case: if a dependency for a local or data is malformed, we
didn't check that a vertex was associated to it, leading to the final
DAG being malformed, and the DAG library would crash in this case.

This commit fixes this problem by checking that the dependency does
exist before attempting to add it to the graph as an edge for a vertex,
so that it is reported accurately, and do that Packer doesn't crash.

* error message change

---------

Co-authored-by: anshul sharma <anshul.sharma@hashicorp.com>
2025-06-17 09:22:09 +05:30
tanmay-hc
65c2eb0469
Merge pull request #13409 from bartdorlandt/patch-1
Fix typo
2025-06-12 11:28:02 +05:30
Bart Dorlandt
548a0376ff
Fix typo 2025-06-07 15:17:50 +02:00
kp2099
f829fd9669
prepare version 1.13.2-dev (#13408) 2025-06-06 15:43:28 +05:30
kp2099
86e50a3e04
Merge pull request #13404 from hashicorp/karthik/prepare_version_1.13.1
prepare version 1.13.1
2025-06-06 12:48:21 +05:30
karthik P
232165097b prepare version 1.13.1 2025-06-06 12:38:34 +05:30
kp2099
c3f3859d4a
Merge pull request #13396 from hashicorp/karthik/powershell_fix
Powershell Script Config Environment Variables Fix
2025-06-06 10:38:45 +05:30
karthik P
c5cf57c7bb Merge branch 'main' into karthik/powershell_fix 2025-06-04 12:03:58 +05:30
anshulSharma
3c867aa571
docs: add upgrade/release notes for 1.13.0 (#13394)
* docs: add upgrade/release notes for 1.13.0

* docs: add upgrade/release notes for 1.13.0
2025-06-04 08:15:16 +05:30
karthik P
85817176d4 adding comment for extractScript 2025-06-03 23:23:12 +05:30
karthik P
49c3512da8 fixing identation and test case 2025-06-03 23:03:02 +05:30
karthik P
cbee767cbc adding new line character to each written command. 2025-06-03 22:09:49 +05:30
anshulSharma
9086931f21
bump dev version (#13389)
* bump dev version

* missing changelog addition
2025-06-03 20:59:25 +05:30
karthik P
4e62b58c88 powershell enviornment variables for script config fix 2025-06-03 17:39:32 +05:30
karthik P
d0a4108ba4 init commit 2025-06-03 12:46:25 +05:30
Devashish
b5ed1784c2
Update PR template for PCI (#13387) 2025-05-30 09:28:26 -04:00
anshulSharma
9b6353a04d
release version readiness (#13384)
* release version readiness

* changelog updated
2025-05-28 11:53:23 +05:30
anshulSharma
25343c4839
changes for fixing the SHA mismatch test case (#13385) 2025-05-27 14:08:41 +05:30
anshulSharma
a80c83c40e
keeping the version file up to date (#13382) 2025-05-26 13:34:42 +05:30
Ryan Johnson
bb4570b9dd docs: update link to vsphere examples
Updated the link for the Packer Examples for VMware vSphere after a repository transfer.

Signed-off-by: Ryan Johnson <ryan.johnson@broadcom.com>
2025-05-06 13:05:07 -07:00
Devashish
caed569efb Fix the failing acceptance test 2025-05-06 13:01:49 -07:00
Anurag Sharma
19fa630090
Merge pull request #13374 from hashicorp/winrm_firewall_port
Fix firewall command for WinRM HTTPS setup
2025-05-06 11:44:10 +05:30
Anurag Sharma
373727556b fix(docs): correct firewall command for WinRM HTTPS setup 2025-05-06 09:58:49 +05:30
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
Jenna Goldstrich
f16ca7fa03 Bump /x/net and /x/crypto in plugin tester and main go.mod 2025-05-01 15:01:00 -07:00
Jenna Goldstrich
78561b84e4 Bump Next.JS 2025-05-01 15:01:00 -07:00
tanmay-hc
164aa15580
Merge pull request #13364 from hashicorp/deprecate-msg
Deprecating `Message` method in UI interface
2025-04-29 10:57:12 +05:30
Karthik P
8c228ab969
feat: Adding filebase64 function
Adding support for filebase64 function.
2025-04-28 13:05:25 +05:30
Tanmay Jain
9e90f48f2b Updated Tests 2025-04-28 12:48:45 +05:30
karthik P
6ef741d5f5 adding fn to nav data json 2025-04-28 10:51:47 +05:30
Karthik P
089df02532
Powershell Provisioner Error Handling (#13334)
* WIP Testing Approach

* WIP Testing Approach

* WIP Testing Approach Work

* WIP Testing Approach

* adding acceptance test for windows Amazon EBS.

* modify wrapper string to use Set-Variable

* fixing unit tests

* cleanup

* updated approach to use -file instead of inline powershell execution.

* adding more scenarios for acceptance test.

* using writeString for file directly.

* changing variable name

* updating test case. cleanup.

* updating test case

* updating test case

* updating test case - nested try catch

* adding unit test for None Execution Policy

* adding unit test for None Execution Policy

* fix test case
2025-04-25 11:23:32 +05:30