Adrien Delorme
e89db37717
add aws multiplugin binary canary code ( #10272 )
...
This creates a new plumbing to allow to have binaries that can define any plugin on any type.
2020-12-10 09:22:09 +01:00
Megan Marsh
39ab646236
move plugin and rpc code into sdk; other minor tweaks ( #10359 )
2020-12-09 12:39:54 +01:00
Roman Mingazeev
d30c09e642
remove incorrect doc
2020-12-07 18:13:12 +03:00
Roman Mingazeev
478fda12ba
reuse common configs
2020-12-07 18:13:06 +03:00
Major Hayden
4254fa3581
docs: trivial spelling fix ( #10334 )
...
🤗
2020-12-03 15:00:11 +01:00
Megan Marsh
39354f64e5
move helper/communicator dir into packer-plugin-sdk
...
fix imports; fix website and generated partials
2020-12-02 08:41:32 -08:00
adeniyistephen1
5ff59be242
Fix SSH-Private-Key-File to the vsphere-iso mdx file
2020-11-30 13:28:10 -08:00
sylviamoss
6c410e4d13
improve customization example
2020-11-25 10:50:09 +01:00
Adrien Delorme
73b7499811
HCL2: version block: test validation & document version/availability ( #10298 )
...
* HCL2: Test that the packer block passes in packer validate
* HCL2: Test invalid packer blocks are invalid
* docs: state from which version the packer block is available
2020-11-23 10:27:26 -05:00
Megan Marsh
5a804de9a3
Merge pull request #10212 from OblateSpheroid/GH8211
...
Feat (builder/oracle-oci): support image launch mode
2020-11-20 15:53:18 -08:00
Megan Marsh
60e62bbb51
Merge pull request #10287 from hashicorp/implement_9990
...
Add configuration options to add additional storage to a cloned vm
2020-11-20 13:34:56 -08:00
sylviamoss
3b523e147e
add config opt to additional storage to cloned vm
2020-11-20 16:20:46 +01:00
Wilken Rivera
f42094688f
Add note to unmaintained provisioners ( #10283 )
2020-11-19 10:36:31 -05:00
Megan Marsh
da0e478044
fix imports
2020-11-17 17:18:45 -08:00
Megan Marsh
3a11954d96
fix generated files and website
2020-11-17 17:07:02 -08:00
Megan Marsh
7d658149ea
update tests and website and generated partials to reflect new package format
2020-11-17 10:36:01 -08:00
Ivaylo Markov
37eec09cea
Add couple of missing LXD builder parameters to documentation
2020-11-16 23:17:35 +02:00
Megan Marsh
bf7daa1d93
Merge pull request #10255 from hashicorp/plugin-sdk-3
...
Plugin sdk 3
2020-11-16 11:36:17 -08:00
loloolllool
5a3ea4b094
Adding optional boot documentation
2020-11-16 05:02:28 +01:00
Megan Marsh
c4d0c5505a
fix tests
...
regenerate code
regenerate code, revendor
fix website
2020-11-13 15:00:12 -08:00
Adrien Delorme
38c50cf00e
HCL2: Add more documentation to path-variables ( #10245 )
...
* HCL2: Add more documentation to path-variables
Co-authored-by: Wilken Rivera <dev@wilkenrivera.com>
2020-11-13 11:05:57 +01:00
Wilken Rivera
acabc1c1aa
Add packer fmt command ( #10225 )
...
* Add packer fmt command
This change adds a new command that allows users to format one or more
HCL2 Packer configuration template files.
Related to: #9174
* command/fmt: Add check flag
Packer's fmt command now supports a check flag that will output the name
of any file that would be changed by the HCL2 formatting engine. The
check flag is mutually exclusive with the write flag and will only check
if formatting is needed.
The update write flag will now overwrite the source files with the newly
formatted HCL2 source unless the `-write=false` or `-check` is passed at
the command line.
* Returns a diagnostic error if Format is unable to show a diff - equivalent to `terraform fmt`
* Updates testing to run against #Format and not the private methods of the HCL2Formatter; fixes ShowDiff test failure on Windows
* Updates comments for exported functions
* Add docs for fmt command
2020-11-11 11:49:39 -05:00
Adrien Delorme
deba1484ff
HCL2: allow calling env as input var default value ( #10240 )
...
* HCL2: allow to use env in default value of input variables
2020-11-11 11:27:32 +01:00
Daniel Underwood
23a7f67778
Fix proxmox page links ( #10230 )
2020-11-09 09:33:07 -05:00
Simon Gottschlag
65b7d3b604
Add Azure CLI authentication ( #10157 )
...
Adds the ability to use an active `az login` session for authenticating the Azure builder
2020-11-06 14:24:16 -05:00
Chris Roberts
d8222b1656
Add support for uploading directly to storage on Vagrant Cloud ( #10193 )
...
Vagrant Cloud provides support for uploading directly to the backend
storage instead of streaming through Vagrant Cloud. This adds support
for direct to storage uploads and sets it as the default upload method.
A new option has been added to disable this behavior and revert back
to streaming upload via Vagrant Cloud (`no_direct_upload`).
This default for uploading directly to the backend storage also matches
up with changes being added to Vagrant proper for box upload behavior:
hashicorp/vagrant#11916
2020-11-05 20:01:55 -05:00
Megan Marsh
61b9015415
Merge pull request #10206 from hashicorp/azr_variable_validation
...
HCL2: add variable validation
2020-11-04 10:46:17 -08:00
js-g
ab23014489
docs (builder/oracle-oci): add reference to image_launch_mode
2020-11-03 11:36:03 -05:00
Adrien Delorme
d919fc28ab
add doc
2020-11-02 17:20:46 +01:00
Marin Salinas
378dae4a8d
chore: add x509 configuration description to website
2020-11-02 10:04:00 -06:00
Wilken Rivera
50211622b2
Update documenation for HCL enables aws_secretsmanager function
2020-10-30 14:18:17 -04:00
Megan Marsh
69312458c4
Merge pull request #10111 from hashicorp/azr_selectable_temp_keygen_type_gcp
...
GCP: Allow to select algo when generating temporary SSH keypair
2020-10-28 11:25:50 -07:00
Adrien Delorme
4bc16455b4
HCL2: add a packer block with a required_version input setting ( #10149 )
...
* add the possibility to set the packer.required_version field; to make sure the template file works with that version of Packer
* add tests
* add documentation on packer.required_version
Example:
packer {
required_version = ">= 1.2.0, < 2.0.0"
}
2020-10-27 10:03:36 +01:00
Adrien Delorme
f5e037e8b4
Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
2020-10-26 15:47:29 +01:00
Megan Marsh
fc619dc977
Merge pull request #9626 from featheredtoast/add-proxmox-vm-clone
...
builder/proxmox FEATURE: split Proxmox into proxmox-iso and proxmox-clone
2020-10-23 13:36:45 -07:00
Megan Marsh
8f67f939f9
Merge pull request #10158 from Direnol/yandex-add-support-iam-auth
...
Added support for IAM credential in the token field and YC_TOKEN env
2020-10-23 09:39:46 -07:00
Roman Mingazeev
75befba67e
add more doc
2020-10-23 18:01:52 +03:00
Roman Mingazeev
cc54c564e2
Update website/pages/docs/builders/yandex.mdx
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-10-23 14:08:08 +03:00
Roman Mingazeev
c5a8e6f823
Update website/pages/docs/builders/yandex.mdx
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-10-23 14:07:37 +03:00
Roman Mingazeev
ae7fc84557
Added support for IAM credential in the token field and YC_TOKEN env
2020-10-23 11:47:28 +03:00
Megan Marsh
edca188175
Update docs to clarify how to use build vars in build template engines ( #10141 )
2020-10-22 09:42:45 +02:00
Megan Marsh
799c548c40
Merge pull request #10116 from OblateSpheroid/GH8915
...
Feat (builder/oracle-oci): Allow filtering on base image
2020-10-20 14:41:09 -07:00
Adrien Delorme
f51b231c17
Merge remote-tracking branch 'origin/master' into azr_selectable_temp_keygen_type_gcp
2020-10-20 16:39:01 +02:00
Adrien Delorme
6d4fae0f2d
Add HCL2 aws_secretsmanager function ( #10124 )
...
* refactor aws get secrets function out to reuse it else where
* add aws_secretsmanager func and docs for HCL2
* fix GetSecret: allow to pick secret version
2020-10-20 16:21:40 +02:00
Megan Marsh
cc7dbf6092
Add consul_key function to integrate concul with hcl2 tempaltes. ( #10119 )
...
* Add consul_key function to integrate concul with hcl2 tempaltes.
* sidebar nav
2020-10-19 14:07:13 +02:00
Jeroen Ketelaar
4f5e878a17
Fixed documentation to have valid JSON for image_filter ( #10122 )
2020-10-19 11:05:58 +02:00
Megan Marsh
a8ee23a9f9
Merge pull request #10117 from hashicorp/packer_version_func_hcl
...
implement packer_version func in hcl
2020-10-16 14:38:39 -07:00
Megan Marsh
09c6d2880f
implement packer_version variable in hcl
2020-10-16 14:07:05 -07:00
Megan Marsh
66b81d9bee
add build.name to hcl code ( #10114 )
2020-10-16 10:57:42 +02:00
Wilken Rivera
a17b1a5a89
Fix references to source blocks ( #10113 )
2020-10-16 10:26:29 +02:00