Megan Marsh
7fac596b37
don't try to delete a cd file if the upload of the cd itself failed
2020-10-22 16:53:40 -07:00
Megan Marsh
3be53e10af
Merge pull request #10128 from nayyara-samuel/add-state-timeout-linode
...
Add documented `state_timeout` parameters to Linode builder
2020-10-22 15:13:59 -07:00
Megan Marsh
c4001734d0
Merge pull request #10143 from hashicorp/do_9951
...
builder/vsphere: skip iso download if hashed file is already present on remote datastore
2020-10-22 15:06:04 -07:00
Megan Marsh
00037d8e69
Merge pull request #10145 from hashicorp/fix_10135
...
commhostport isn't present if communicator is null; protect casting i…
2020-10-22 14:24:23 -07:00
Megan Marsh
77298a23a9
Merge pull request #10091 from hashicorp/fix_fixer
...
command/fix: re-work fixer deprecation code so we know what plugins they relate to
2020-10-22 10:32:58 -07:00
Megan Marsh
9a869f50bd
Merge pull request #10140 from hashicorp/azr-add-vmware-vmx-example
...
HCL2: add vmware vmx example
2020-10-22 10:22:07 -07: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
70cb4097e1
review comments, add plugin type for a few missing builders
2020-10-21 16:17:32 -07:00
Megan Marsh
1192e457ff
fix linting
2020-10-21 15:29:05 -07:00
Megan Marsh
c0ce8a9414
rework fixer deprecation code so we know what plugins they relate to
2020-10-21 15:28:59 -07:00
Megan Marsh
f1f834b8fe
commhostport isn't present if communicator is null; protect casting in a check
2020-10-21 14:30:23 -07:00
Megan Marsh
ee4b3e796e
update changelog
2020-10-21 13:17:38 -07:00
Megan Marsh
796c40f89b
builder/vsphere: skip iso download if hashed file is already present in remote packer_cache
2020-10-21 11:33:43 -07:00
Wilken Rivera
a2ba700ac0
Remove deprecated object ids from configs
2020-10-21 13:56:22 -04:00
Adrien Delorme
5a3526a669
Add vmware vmx example
2020-10-21 15:55:54 +02:00
Wilken Rivera
1621ab59d8
tests/azure/arm: Update test image name ( #10133 )
...
I've run into a few cases where running the full test suite for the ARM
builder would fail because of conflicting image names. This is a
workaround for now the bigger fix is to have the acceptance clean up any
created images.
Results before change
```
the managed image named testBuilderAccManagedDiskWindows-1603151855 already exists in the resource group packer-acceptance-test, use the -force option to automatically delete it.
--- FAIL: TestBuilderAcc_ManagedDisk_Windows_Build_Resource_Group (0.66s)
```
Results after change
```
PASS
ok github.com/hashicorp/packer/builder/azure/arm 2431.115s
```
2020-10-21 11:12:50 +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
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
js-g
2f26e6d823
tests (builder/oracle-oci): test base image filter in config
2020-10-19 23:30:46 -04:00
Nayyara Samuel
32ebabfcf5
Add documented `state_timeout` parameters to Linode builder
2020-10-19 22:07:22 -04:00
Megan Marsh
584fea678b
update changelog
2020-10-19 15:34:55 -07: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
Adrien Delorme
b24911661f
add sshkey package and ssh-keygen comand ( #10101 )
...
* add sshkey.Generate function that returns an sshkey.Pair to be used with openssh.
* add cmd/ssh-keygen/main.go for testing purposes
* add a test calling ssh.ParsePrivateKey & ssh.ParseAuthorizedKey (which is very
similar to what openssh would do to read a keypair)
The wrapping of the keys should be handled by crypto/x509.MarshalPKCS8PrivateKey
& x/crypto/ssh.NewPublicKey which does not work for ed25519 and dsa.
x509.MarshalPKCS8PrivateKey marshals ed25519 keys but the keys did not work with openssh.
x509.MarshalPKCS8PrivateKey does not handle dsa keys.
So I had to 'wrap' those manually by reading the code of the openssh package.
Note that ssh.NewPublicKey works with any keytype. I should probably do a PR to ssh to have a NewPrivateKey & Marshalling funcs
2020-10-19 10:24:34 +02:00
Evan Pipho
dd068acfd1
Re-generate docs
2020-10-16 23:44:58 +00:00
Megan Marsh
ef1b401a22
Merge pull request #10102 from mattr-/update-amazon-builder-for-io2
...
builder/amazon: Add io2 as a supported volume type
2020-10-16 16:32:57 -07:00
Megan Marsh
cee3a14392
Merge pull request #10115 from bhundven/googlecompute_add-create-image-option
...
Add 'create_image' option to googlecompute
2020-10-16 16:01:44 -07: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
Megan Marsh
456214eb51
Merge pull request #10056 from marinsalinas/new_client
...
New official Outscale SDK migration.
2020-10-16 15:28:54 -07:00
Evan Pipho
608307cd1e
Re-allow spot + tenancy. Validate tenancy is set to a usable value
2020-10-16 21:43:22 +00:00
Evan Pipho
d5d1a8708e
Add tests for Tenancy vs Spot Price
2020-10-16 21:43:22 +00: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
f696e8286e
contextual functions menu section for vault func
2020-10-16 14:27:16 -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
js-g
b0cc71d35e
docs (builder/oracle-oci): add documentaion for base_image_filter
2020-10-15 17:26:01 -04:00
js-g
0c34d6ca12
feat (builder/oracle-oci): add regex search on base image name
2020-10-15 15:28:38 -04:00
Wilken Rivera
7ba2ffe171
Merge pull request #10106 from hashicorp/more_hcl_docs
...
More hcl docs
2020-10-15 13:50:46 -04:00
Wilken Rivera
5d2f2b20e7
Merge pull request #10112 from jmfury/jm.bump-hsm-version-1.0.7
...
[Website] Update HSM version w/ waypoint
2020-10-15 13:45:48 -04:00
Jimmy Merritello
f79b9dc735
Update HSM version
2020-10-15 11:35:19 -05:00
js-g
27128dc62f
feat (builder/oracle-oci): allow filtering on base image
2020-10-15 11:02:16 -04:00
Wilken Rivera
343ac2d48d
syntax-json: Fix nested provisioner block example ( #10109 )
2020-10-15 16:04:01 +02:00
Megan Marsh
06efa61c13
a tiny bit more cleanup
2020-10-14 15:56:58 -07:00
Megan Marsh
da15b85451
more updates
2020-10-14 13:35:21 -07:00
Megan Marsh
2cdc052d7c
Merge pull request #10097 from hashicorp/more_hcl_docs
...
Update HCL docs with a local resource-free example to empower users t…
2020-10-14 13:34:54 -07:00
Megan Marsh
31df482b61
remove old docs for previous behavior
2020-10-14 13:11:52 -07:00