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
Reto Kupferschmid
943cb1275d
fix missing comma ( #9652 )
2020-07-27 11:21:40 +02:00
Megan Marsh
54067fc091
update docs to include vpc permissions ( #9648 )
2020-07-27 10:18:06 +02:00
Megan Marsh
395a0c472e
improve postprocessor stdout
2020-07-25 08:24:21 -07: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
Megan Marsh
eb27023e4c
add HCL and artifice examples to vagrant postprocessor docs ( #9606 )
2020-07-21 11:30:11 +02:00
Megan Marsh
91775b8875
update docstring ( #9617 )
2020-07-21 11:28:01 +02:00
Megan Marsh
6077a9174a
Merge pull request #9607 from hashicorp/amazon_hcl_docs
...
Amazon hcl docs
2020-07-20 18:11:51 -07:00
Megan Marsh
3897865f3f
Update website/pages/docs/builders/amazon/ebs.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 18:02:31 -07:00
Megan Marsh
6bb23eeb0e
Update website/pages/docs/builders/amazon/index.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:59:22 -07:00
Megan Marsh
f389f1eebc
Update website/pages/docs/builders/amazon/chroot.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:58:05 -07:00
Megan Marsh
faa7bc0dc1
Update website/pages/docs/builders/amazon/ebs.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:57:52 -07:00
Megan Marsh
4a8f6c118e
Update website/pages/docs/builders/amazon/chroot.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:57:11 -07:00
Megan Marsh
e811967a72
Update website/pages/docs/builders/amazon/chroot.mdx
...
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 17:56:41 -07:00
Megan Marsh
36da3374f3
Docs: Add HCL examples to docker-import postprocessor docs ( #9604 )
...
* add hcl to docker-import postprocessor docs
* Update website/pages/docs/post-processors/docker-import.mdx
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-07-20 16:57:48 +02:00
Megan Marsh
6439ebff22
docs: Add HCL2 code examples to shell-local provisioner and post-processor. ( #9602 )
...
* get start on shell-local postprocessor
* HCL2 tabs for shell-local pp
* shell local provisoner hcl examples
2020-07-20 16:55:56 +02:00
Megan Marsh
19089bd074
upate standalone docs examples in amazon index file
2020-07-17 13:59:51 -07:00
Megan Marsh
51bc7da964
add hcl examples to all standalone code examples in the amazon-chroot page
2020-07-17 13:32:09 -07:00
Megan Marsh
0bb4bf92da
validate and hcl examples to all standalone examples in the EBS docs
2020-07-17 12:59:27 -07:00
Megan Marsh
9f34241b5c
Merge pull request #9597 from romantomjak/multiqueue-net-option
...
builder/proxmox: add support for multiple NIC packet queues
2020-07-17 09:07:04 -07:00
Roman Tomjak
b0d8f69bda
tweak docs
2020-07-16 18:03:46 +01:00
Roman Tomjak
adf1e29459
update docs
2020-07-16 17:36:18 +01:00
Megan Marsh
c0270c9f19
Merge pull request #9587 from romantomjak/disable-kvm-flag
...
Add option to disable KVM hardware virtualization in proxmox builder
2020-07-15 15:23:09 -07:00
Roman Tomjak
ebdf1c3d53
update proxmox docs to include disable_kvm flag
2020-07-15 18:51:36 +01:00
jl2501
5c3b747fea
Update fix.mdx
...
trivially minor typo: omission of "out" when referring to "standard out"
2020-07-15 12:39:43 -04: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
Sylvia Moss
9c1409dbba
Add content_library_destination to import VM template to a Content Library ( #9551 )
2020-07-10 11:01:10 +02:00
Megan Marsh
e1e37ad025
Merge pull request #9555 from yandex-cloud/yandex-export-templating
...
yandex-export: templating
2020-07-09 15:50:04 -07:00
Megan Marsh
c5d34f3f7b
add note about versioning to vsphere builder docs
2020-07-09 14:46:35 -07:00
Gennady Lipenkov
d83d2b0273
Update documentation
2020-07-09 17:43:11 +03:00
GennadySpb
22af3f2fd0
Update website/pages/docs/post-processors/yandex-export.mdx
...
Update doc example
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-09 16:21:21 +03:00
Gennady Lipenkov
b02401c41b
Update doc and example.
2020-07-09 16:21:21 +03:00
GennadySpb
919b54f4f4
yandex-export: tiny improvements ( #9554 )
2020-07-09 10:46:51 +02:00
Megan Marsh
d5c40fb0a2
Merge pull request #9550 from hashicorp/unmaintained-plugins-note
...
Add note for unmaintained community-supported plugins
2020-07-08 16:46:36 -07:00
Gennady Lipenkov
5b8911ee7d
remove angle brackets
...
fix documentation build process
2020-07-08 23:13:14 +03:00
Gennady Lipenkov
cc1605fe94
Add init doc
2020-07-08 22:01:52 +03:00
Wilken Rivera
652d2a4e9e
Add note for unmaintained community-supported plugins
...
This change borrowed from Terraform's [archived provider
documentation](https://www.terraform.io/docs/internals/archiving.html )
adds a documentation partial that can be applied to any provisioner
plugin that is not actively maintained by Packer or the community. A
call to action for anyone interested in supporting the plugin has been
added to the Packer README until a better location is made available.
* Mark the salt-masterless plugin as unmaintained
2020-07-08 07:24:03 -04:00
Sylvia Moss
268e95364f
Adds vApp properties config and save public ssh key to a vApp property ( #9507 )
2020-07-08 10:33:45 +02:00
Megan Marsh
673858a63c
Merge pull request #9513 from hashicorp/undocument_ssh_temp_key
...
Undocument ssh options not used by all builders
2020-07-07 14:26:21 -07:00
Wilken Rivera
892413b7ea
docs/builder/vsphere-iso: Add documentation for BootConfig ( #9538 )
...
* docs/builder/vsphere-iso: Add documentation for BootConfig
* Add documenation for http_ip
* Remove duplicate build configuration section
2020-07-07 13:57:51 -04:00
Megan Marsh
93cd7e40bc
add note about ansibles configuration powershell script in our docs ( #9526 )
...
* add note about ansibles configuration powershell script in our docs
* Update website/pages/docs/provisioners/ansible.mdx
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-07-06 15:23:29 -04:00
Moss
d060cc9ef2
create partials for each ssh key pair related config
2020-07-02 15:18:08 +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
Megan Marsh
445cf12b65
Merge pull request #9489 from ad-m/hyperone-freebsd
...
builder/hyperone: Allow skip chroot device discovery
2020-07-01 15:48:03 -07:00
Moss
41edd09d3c
undocument temporary_key_pair_name and ssh_private_key_file
2020-07-01 16:33:18 +02:00
Roman Tomjak
212200c88f
Proxmox NIC firewall flag ( #9487 )
...
* add test for firewall toggle
* generate hcl config
* send firewall toggle to proxmox
* update docs
* drop the pointer to bool
* use setDeviceParamIfDefined
2020-06-30 11:04:19 +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
Neil Kidd
c9d546a7ea
Fix broken external link ( #9496 )
2020-06-29 11:02:37 +02:00
Adam Dobrawy
4692cdd55c
builder/hyperone: Allow skip chroot device discovery
2020-06-26 15:04:08 +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
mingsheng.su
8a8abdf615
update ucloud-uhost builder ( #9466 )
...
* update ucloud-uhost builder, docs and deps
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
Co-authored-by: Adrien Delorme <azr@users.noreply.github.com>
2020-06-24 14:31:05 +02:00
Ivo van Geel
e54ad3f1fb
Add boot_command support to vsphere-clone builder, including support … ( #9397 )
2020-06-24 11:14:30 +02:00
Megan Marsh
3476637262
remove old line about windows docker support
2020-06-23 09:54:17 -07: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
Megan Marsh
a96194081a
Merge pull request #9453 from hashicorp/fix_ssh
...
Allow users to provide a list of ciphers that they want Packer to support.
2020-06-18 11:58:53 -07:00
Megan Marsh
a75cf67b5e
Update website/pages/docs/communicators/ssh.mdx
...
Co-authored-by: Sylvia Moss <moss@hashicorp.com>
2020-06-18 09:25:50 -07:00
Megan Marsh
801c827058
create parent dirs of target ( #9452 )
2020-06-18 10:25:04 +02:00
Megan Marsh
53105f9508
update ssh docs
2020-06-17 16:50:53 -07:00
Gennady Lipenkov
bc24762e9f
Update documentation
2020-06-17 17:02:55 +03:00
Megan Marsh
3d7c9cb9c2
make ansible provisioner docs generated from code ( #9439 )
2020-06-17 10:09:03 +02:00
Megan Marsh
a037e45ac2
Merge pull request #9429 from hashicorp/fix_8814
...
Add on-error flag option to run error-cleanup-provisioner
2020-06-16 10:00:21 -07:00
Adrien Delorme
01e14e173a
more hcl2 basic examples
2020-06-16 17:44:41 +02:00
Adrien Delorme
97848df9e1
add basic HCL2 examples for gcp builder
2020-06-16 17:08:03 +02:00
Adrien Delorme
6513372a01
add basic HCL2 docs for file builder
2020-06-16 17:05:02 +02:00
Adrien Delorme
c3f2cc64f7
add basic HCL2 docs for vmware
2020-06-16 17:03:15 +02:00
Adrien Delorme
831c16836a
add basic docs for virtualbox
2020-06-16 17:00:31 +02:00
Adrien Delorme
8930c4b913
duplicate space
2020-06-16 16:55:58 +02:00
Adrien Delorme
b12bc5d122
add basic aws examples
2020-06-16 16:47:16 +02:00
Moss
4f26534072
add on-error flag option to run cleanup provisioner
2020-06-16 15:34:00 +02:00
Megan Marsh
004ace4340
Merge pull request #9406 from hashicorp/fix_9084
...
Add usb_driver to common boot_command and use it on vsphere
2020-06-15 15:55:54 -07:00
Calle Pettersson
0bcfefd0bc
Update Proxmox storagePoolTypes ( #9418 )
2020-06-15 14:00:32 +02:00
Sebastiano Mariani
7ec1d478d6
Update console.mdx
...
Fix possible typo carried over from Terraform documentation.
2020-06-12 14:29:40 -07:00
Moss
65cfb880fd
Fix boot_command and update docs
2020-06-12 14:51:52 +02:00
Adrien Delorme
71cd2172e5
fix typo in SSH comunicator ( #9412 )
...
closes #9336
2020-06-12 12:22:02 +02:00
Megan Marsh
1eb868cef5
Merge pull request #9384 from hashicorp/website/getting-started/migration
...
Refactored to learn hosted gettings started track.
2020-06-11 13:36:35 -07:00
Derek Strickland
647ccb35f1
Update website/pages/docs/install.mdx
...
Co-authored-by: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
2020-06-09 14:39:43 -04: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
tymac753
cb5bf65ada
Update Consul reference documentation ( #9378 )
2020-06-09 12:38:32 +02:00
DerekStrickland
b8f9d2e988
Refactored to learn hosted gettings started track.
2020-06-08 15:53:00 -04: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
Megan Marsh
8b9ed084b2
Merge pull request #9365 from hashicorp/except_only_block_hcl_docs
...
Update Provisioners and Post-Processor block HCL2 docs
2020-06-05 12:44:10 -07:00
Wilken Rivera
f672f5bd9b
command/validate: Add support for HCL2 configuration files
...
* Update validate command to use FixConfig for checking against known
fixers
* Update validation command flag docs
* Add ConfigFixer method to PackerHandler Interface
* Implement ConfigFixer interface in PackerConfig
* Remove all stdout messaging (i.e calls to c.Ui.Say) in the validate
command. The command will only display hcl.Diagnotic messaging when there is an error or warning.
HCL2 Configs
```
⇶ packer validate docker_centos_shell_provisioner.pkr.hcl
```
JSON Configs
```
⇶ packer validate vmware-iso_ubuntu_minimal/vmware-iso_ubuntu_minimal.json
Error: Failed to prepare build: "vmware-iso"
1 error occurred:
* Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatable with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.
Warning: Fixable configuration found.
You may need to run `packer fix` to get your build to run correctly.
See debug log for more information.
map[string]interface{}{
"builders": []interface{}{
map[string]interface{}{
... // 3 identical entries
"guest_os_type": string("ubuntu-64"),
"http_directory": string("http"),
- "iso_checksum":
string("946a6077af6f5f95a51f82fdc44051c7aa19f9cfc5f737954845a6050543d7c2"),
+ "iso_checksum":
string("sha256:946a6077af6f5f95a51f82fdc44051c7aa19f9cfc5f737954845a6050543d7c2"),
- "iso_checksum_type": string("sha256"),
"iso_url":
string("http://old-releases.ubuntu.com/releases/14.04.1/ubuntu-14.04.1-server-amd64.iso "),
"shutdown_command": string("echo 'vagrant' | sudo -S shutdown -P now"),
... // 4 identical entries
},
},
}
```
2020-06-05 14:24:39 -04: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
Adrien Delorme
bac9c74447
packer console for HCL2 ( #9359 )
2020-06-05 17:23:54 +02:00
Moss
110b1411d7
Update provisioners and post-processor hcl2 docs
2020-06-05 15:49:09 +02:00
Wilken Rivera
fd0764d668
docs/builder/azure-arm: Add shared_image_gallery to Azure builder options section ( #9364 )
2020-06-05 11:49:48 +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
Megan Marsh
19ae0ecf4c
Merge pull request #9245 from AdrienneCohea/master
...
Support named builds in HCL2 templates
2020-06-02 11:42:14 -07:00
jhawk28
c9d0ede67a
add http and floppy to vsphere-iso docs. remove references to things … ( #9343 )
2020-06-02 17:48:11 +02: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
Sylvia Moss
ce45a1990a
Refactor communicator config for Qemu and add SkipNatMapping option ( #9307 )
2020-06-02 11:56:36 +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
Conlan
0ca418d656
Fix typo in Ansible Provisioner Docs
2020-06-01 09:53:54 -04:00
Jeff Escalante
700d9e4710
azure chroot partial fixes
2020-05-29 17:17:23 -04: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
Adrien Delorme
851b354ac9
more fixes
2020-05-27 16:51:44 +02:00
Megan Marsh
01839e272e
Merge pull request #9277 from nitrocode/add-source-ami-creation-date
...
Added SourceAMICreationDate
2020-05-26 12:24:47 -07:00
nitrocode
6d29ec956b
Added SourceAMICreationDate
2020-05-26 15:04:03 -04:00
Adrien Delorme
397a08b32d
Update locals.mdx
2020-05-26 15:54:15 +02:00
Adrien Delorme
2b8d6991d9
better 'related' sections for source and locals blocks
2020-05-26 15:46:02 +02:00
Adrien Delorme
72f76cbc8e
document hcl2 blocks
2020-05-26 15:29:47 +02:00
Sylvia Moss
601d3638f6
add communicator config reference to hyperv docs ( #9289 )
2020-05-25 15:18:14 +02:00
Lukas Kämmerling
26d309c88c
Clarify the correct usage of the snapshot_name field on the hcloud builder ( #9276 )
2020-05-25 14:52:13 +02:00
Megan Marsh
b3ece95f27
Merge pull request #9254 from ad-m/hyperone-builder-hcl
...
HCL compliance for HyperOne builder
2020-05-20 13:15:21 -07:00
Megan Marsh
782342a707
Merge pull request #9202 from overdrive3000/improve-secrets-manager
...
Add support for specifying key to fetch from AWS Secrets Manager
2020-05-20 13:13:28 -07:00
Sylvia Moss
be9dbaacd7
Interpolate generatedData in the Inspec provisioner ( #9262 )
...
* Interpolate generatedData in the Inspec provisioner
* Add inspec license section to inspec docs
* add user arg if user config it not empty
* increase resource size for check-lint pipeline
* update changelog
* Update provisioner/inspec/provisioner.go
* Update provisioner/inspec/provisioner.go
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-05-20 15:43:41 -04:00
Megan Marsh
3c782e9d03
Merge pull request #9239 from hashicorp/enable_artifice
...
Add Artifice postprocessor ID to valid artifacts for postprocessors t…
2020-05-20 10:46:44 -07:00
Wilken Rivera
d3aa53c9da
docs/hcl2: Update HCL2 beta note link ( #9258 )
...
This change updates the Beta notes on the Packer docs site with a link
to the pinned HCL2 implementations list issue.
Closes #9175
2020-05-20 12:24:45 +02:00
Megan Marsh
557eb015ea
make artifice post-processor play nicely with vagrant post-processor, including template validation., Update docs for each.
2020-05-19 15:52:12 -07:00
Megan Marsh
58b32ebefa
Merge pull request #9251 from hashicorp/fix_9249
...
builder/azure-arm: Update runtime constants with a valid DataDiskName
2020-05-19 11:00:44 -07:00
Juan Mesa
b73602eadd
Fix corrections
...
* Fix typos in comments.
* Add documentation of how to use multiple keys with `aws_secretsmanager` function.
* Move `Client` struct to `secretsmanager.go` file.
2020-05-19 13:16:28 +02:00
Sylvia Moss
1c30a71d09
Replace file shared state by statebag ( #9238 )
2020-05-19 11:49:48 +02:00
Adam Dobrawy
a3cba02c86
builder/hyperone: Add examples for HCL syntax
2020-05-19 01:20:25 +02:00
Wilken Rivera
c954831bb2
builder/azure-arm: Update runtime constants with a valid DataDiskName
...
This change fixes an issue where using the `disk_additional_size` configuration option would cause builds to fail.
Build results before the change
```
==> Builds finished but no artifacts were created.
Build 'azure-arm' errored: Code="DeploymentFailed" Message="At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details." Details=[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code
\": \"InvalidParameter\",\r\n \"message\": \"The entity name 'dataDisk.name' is invalid according to its validation rule: ^[^_\\\\W][\\\\w-._]{0,79}(?\u003c![-.])$.\",\r\n \"target\": \"dataDisk.name\"\r\n }\r\n}"}]
```
Build results after change
```
Build 'azure-arm' finished.
==> Builds finished. The artifacts of successful builds are:
--> azure-arm: Azure.ResourceManagement.VMImage:
OSType: Linux
ManagedImageResourceGroupName: test-pkr
ManagedImageName: wilkenPacker9249
```
Closes #9249
2020-05-18 14:57:20 -04:00
Roger Berlind
fdca7175fc
replace clean_image_name with clean_resource_name
...
The change was mostly made except in one example for Google
2020-05-15 16:33:27 -04:00
Wilken Rivera
c5e38a2699
docs/amazon-ebssurrogate: Add Session Manager documentation ( #9236 )
2020-05-15 14:58:10 +02:00
Wilken Rivera
bcaf9f124f
docs/builder/amazon: Add Session Manager Connection documentation to supported builders
2020-05-14 15:17:22 -04:00
Megan Marsh
533fbc1381
Merge pull request #9139 from hashicorp/hcl2_commands_refactor
...
Hcl2 commands refactor
2020-05-14 11:16:12 -07:00
Adrien Delorme
c2d3e494b6
alicloud: better docs + autogenerated post processor docs
2020-05-13 15:49:34 +02:00
Kennith Leung
6a1737847d
Update vagrant.mdx ( #9215 )
...
If the `output_dir` is not set, the folder will be set to `output-` plus buildname.
2020-05-13 10:17:26 +02:00
Megan Marsh
480c938162
generate virtualbox-vm docs instead of letting them be copy pasted
2020-05-08 15:58:36 -07:00
Megan Marsh
9476aa03de
Merge pull request #9105 from hashicorp/google_iap
...
Implement iap proxy for googlecompute
2020-05-08 12:40:42 -07:00
Megan Marsh
fcef10fd2f
Merge pull request #9082 from hashicorp/f-amazon_builder-ssm-session-tunnel-poc
...
builder/amazon: Add SSM Session Manager as a SSH interface connection
2020-05-08 12:40:03 -07:00
Megan Marsh
e6073bcec7
implement iap proxy for googlecompute. ssh-only so far
2020-05-08 10:13:42 -07:00
Adrien Delorme
efcc6af06c
fix tests
2020-05-08 17:46:33 +02:00
Wilken Rivera
0e7020189c
docs/amazon/ebs: Document Session Manager connectivity setup instructions
2020-05-08 09:32:48 -04:00
Megan Marsh
7c13cc5744
swap out tag for tags since it's a list
...
add fixer for docker tag to tags change
2020-05-07 13:24:25 -07:00
Megan Marsh
6a682aca2e
Merge pull request #9124 from GennadySpb/yandex-export-post-processor
...
[WIP] Yandex export post processor
2020-05-05 11:01:13 -07:00
Wilken Rivera
18ce764b97
Merge pull request #9169 from sudomateo/docs/post-processor-vagrant-cloud
...
Note about box creation
2020-05-05 11:25:43 -04:00
Matthew Sanabria
fe233c1221
Note about box creation
...
The `vagrant-cloud` post-processor does not create the desired Vagrant
Cloud box for you. Packer assumes the Vagrant Cloud box already exists
and will only push new box versions for you. It is up to the user to
ensure the Vagrant Cloud box exists beforehand. This note should make it
clear to users that Packer does not create the box.
2020-05-05 11:12:45 -04:00
Nicolas Quiniou-Briand
f115784a72
Update example for docker-push (tags) ( #9144 )
...
* remove useless comment
-var-file allow an HCL file
* [docs] tag should be comma-separated
2020-05-01 12:48:25 +02:00
Megan Marsh
3f8ee2b426
add exported files to VSphere artifact ( #9020 )
...
* add exported files to VSphere artifact
* clean up grammar for vsphere template docs
* add to vsphere clone
2020-04-30 15:22:57 -04:00
Nicolas Quiniou-Briand
5eb4620602
[docs] add missing extension ( #9132 )
2020-04-30 10:52:10 +02:00
Megan Marsh
a88b5dfe7b
fix documentation for docker tag pp
2020-04-29 12:14:49 -07:00
Adrien Delorme
e4df3b262b
HCL2: docs warn about the fact that HCL2 support is still Beta at the top of each docs page ( #9113 )
2020-04-28 11:37:50 +02:00
Gennady Lipenkov
17a5b5db24
Add docs and nav reference
2020-04-27 02:21:13 +03:00
Adrien Delorme
da4a5224be
HCL2 singular blocks: use key/value or name/value depending on how the service names things ( #9078 )
...
* make sure keyvalue and namevalue filters are using the same naming as the service being used
* make docs a bit more readable for KeyValues too
* Update website/pages/docs/from-1.5/expressions.mdx
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
Co-authored-by: Megan Marsh <megan@hashicorp.com>
2020-04-23 10:46:49 +02:00
Adrien Delorme
304f615bc3
Update website/pages/docs/from-1.5/expressions.mdx
...
Co-Authored-By: Megan Marsh <megan@hashicorp.com>
2020-04-23 10:46:19 +02:00
Juan Mesa
0fca4a8ba8
Add template function aws_secretsmanager
...
Allow users to read secrets from AWS Secrets Manager via
packer template functions
2020-04-21 18:37:29 +02:00
Matthew Sanabria
761abdda4e
Updating documentation for azure-arm builder ( #9097 )
2020-04-21 10:47:48 +02:00
Wilken Rivera
cc367bd0b7
Merge pull request #9045 from lausser/cloud-init
...
feat(proxmox): add ability to add a cloud-init drive
2020-04-17 14:09:02 -04:00
Matt Kotsenas
fe55494207
Add `debug_mode` to PowerShell provisioner ( #8996 )
2020-04-17 11:39:39 +02:00
Adrien Delorme
73242e8de4
make sure keyvalue and namevalue filters are using the same naming as the service being used
2020-04-16 17:22:13 +02:00
Sylvia Moss
553b1fb9f8
Add RetriedProvisioner to allow retry provisioners ( #9061 )
2020-04-16 11:58:54 +02:00
Gerhard Lausser
dc2813c8e2
feat(proxmox): add ability to add a cloud-init drive
2020-04-15 22:00:42 +02:00
Joshua Foster
7f0dbdebb2
clean up documentation for new NIC and storage params
...
adding examples, updating .gitattributes so *.mdx files have LF endings for windows
2020-04-13 14:28:50 -04:00
Paul Meyer
df47fd5076
Merge pull request #9021 from paulmey/azure-chroot-shared-image-destination
...
[azure/chroot] Add azure-chroot shared image destination
2020-04-09 14:42:13 -07:00
Megan Marsh
73c349d09c
Merge pull request #8908 from hashicorp/fix_4795
...
provisioner/powershell: Add cleanup step to remove any temporarily created scripts
2020-04-09 08:56:19 -07:00
Adrien Delorme
2af40c762b
HCL2: pass on builder type and name ( #8956 )
...
* sets `packer_build_name` and `packer_builder_type` variables for builder provisioners and post-processors in HCL2
* allows to use the new `${source.type}` and `${source.name}` variables in HCL2
* fixes #8932
Note that the common.PackerConfig is used everywhere and was not set for HCL2, this had some implications:
For #8923 you can see the issue here:
dde74232f2/builder/lxd/config.go (L61-L63)
More random examples of where this could cause an issue :
0785c2f6fc/provisioner/ansible-local/provisioner.go (L380-L381)
b4efd13a4d/builder/amazon/ebs/builder.go (L232-L236)
* [All references to PackerConfig.PackerBuildName](https://sourcegraph.com/github.com/hashicorp/packer@ff6a039d5bb45e34ff761d9c52e8b98972288447/-/blob/common/packer_config.go#L7:2&tab=references )
* [All references to PackerConfig.PackerBuilderType](https://sourcegraph.com/github.com/hashicorp/packer@ff6a039d5bb45e34ff761d9c52e8b98972288447/-/blob/common/packer_config.go#L8:2&tab=references )
2020-04-09 11:14:37 +02:00
Wilken Rivera
4a46d6ff7b
docs/provisioner/powershell: Add documentation for `skip_clean` option
2020-04-08 10:23:15 -04:00
Paul Meyer
5c89d22fa2
generated & docs
2020-04-07 23:05:09 +00:00
Jeff Escalante
23a5c472aa
remove sidebar_current from front matter
2020-04-07 17:53:25 -04:00
Jeff Escalante
ce95bb1d70
fix newly added partial paths
2020-04-07 17:53:23 -04:00
Jeff Escalante
860434141e
patch dollar sign escaping issue
2020-04-07 17:53:23 -04:00
Jeff Escalante
7555536f7a
a couple more broken links
2020-04-07 17:53:21 -04:00
Jeff Escalante
18511bab05
bunch more broken link fixes
2020-04-07 17:53:21 -04:00
Jeff Escalante
af257c2bb9
fix all local relative links
2020-04-07 17:50:53 -04:00
Jeff Escalante
090df9c2b6
code block language cleanup
2020-04-07 17:50:52 -04:00
Jeff Escalante
4afd107eeb
patch source files for extensions changes
2020-04-07 17:50:51 -04:00
Jeff Escalante
d626cedd45
remove unnecessary .html extensions
2020-04-07 17:50:51 -04:00
Jeff Escalante
86b6a4562b
update deps, remove internal index.html's
2020-04-07 17:50:50 -04:00
Jeff Escalante
8d917b6f77
patch a couple small bugs
2020-04-07 17:50:50 -04:00
Jeff Escalante
f48529e6ff
a variety of markdown fixes
2020-04-07 17:50:49 -04:00
Jeff Escalante
db48bf7d58
adjust builder nesting paths
2020-04-07 17:50:49 -04:00
Jeff Escalante
68e1ea2296
clean up html links
2020-04-07 17:50:49 -04:00
Jeff Escalante
ace31df874
docs pages navigation
2020-04-07 17:50:49 -04:00
Jeff Escalante
bcc848a83d
were rendering yay
2020-04-07 17:50:47 -04:00
Jeff Escalante
92d4553890
initial port
2020-04-07 17:50:46 -04:00