sylviamoss
99e7ac5f42
fix test and generated code
2020-11-20 17:15:47 +01:00
sylviamoss
3b523e147e
add config opt to additional storage to cloned vm
2020-11-20 16:20:46 +01: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
Megan Marsh
e04eaa89e6
move steps and step configs from packer/common to packer/common/commonsteps
2020-11-13 11:15:04 -08:00
Megan Marsh
6871a3a85d
Merge pull request #10250 from Direnol/yandex/change-disk-creation-method
...
fix(yandex): change disk creation method to manual
2020-11-13 09:28:10 -08:00
Roman Mingazeev
14abb8ce2b
Update website/pages/partials/builder/yandex/Config-not-required.mdx
...
Co-authored-by: GennadySpb <lipenkov@gmail.com>
2020-11-13 17:21:32 +03:00
Roman Mingazeev
6a327b1330
add labels for temp disk
2020-11-13 16:35:48 +03: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
Adrien Delorme
addd2da101
add can examples
2020-11-04 15:44:21 +01:00
Adrien Delorme
73caad492c
Update custom-validation.mdx
...
add complex example
2020-11-04 13:31:45 +01: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
ef32147a4a
Fix GCP HCL image_encryption_key fields and use the same casing in JSON and HCL2
...
this closes #9997
2020-10-27 15:46:45 +01: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
James Griffith
c8ad66f419
update to docs as suggested
2020-10-23 11:41:03 -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
09add100f2
fix doc generate
2020-10-23 14:36:00 +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
b8e6e2c081
Merge pull request #10085 from 10000coins/f-aws-tenancy
...
builder/amazon: Support for source instance tenancy
2020-10-19 12:49:07 -07: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
Evan Pipho
dd068acfd1
Re-generate docs
2020-10-16 23:44:58 +00:00
Bryan Hundven
ecc8c6a44a
Replace `create_image` with `skip_create_image`, as requested
...
Closes #9965
2020-10-16 15:42:30 -07:00
Bryan Hundven
476eefa26b
Add 'create_image' option to googlecompute
...
When building a CI/CD deployment, during the PR process it's nice to be
able to run the builder, but not create the image the build produces.
Closes #9965
2020-10-16 15:42:17 -07:00
Evan Pipho
6967e02103
Add support for source instance tenancy to amazon builders
2020-10-16 21:43:22 +00: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