Megan Marsh
|
02bfac118f
|
default wait time for amazon import to one hour.
|
2018-10-09 13:08:42 -07:00 |
Megan Marsh
|
f494d87dc5
|
Merge pull request #6747 from hashicorp/fix_6743
abort if image import fails
|
2018-10-09 12:56:28 -07:00 |
Adrien Delorme
|
f44dfcc62f
|
Merge pull request #6727 from hashicorp/fix_6723
reset poll delay seconds default to 2 because it can actuall be used …
|
2018-10-03 11:15:42 +02:00 |
Adrien Delorme
|
22d3e9b5c4
|
builder/amazon/ebs: pass config as a pointer so values could be populated by a run
|
2018-09-27 16:27:34 +02:00 |
Matthew Hooker
|
9181570bc3
|
remove stray struct dumps in logs
|
2018-09-27 00:14:05 -07:00 |
Megan Marsh
|
d616f0ba71
|
abort if image import fails
|
2018-09-20 13:18:59 -07:00 |
Megan Marsh
|
79093da6ad
|
skip region validation in tests that don't care; refactor Prepare func so we can test region validation logic with a mock
|
2018-09-19 10:30:08 -07:00 |
Megan Marsh
|
93f1155a14
|
remove test-related special casing
|
2018-09-18 08:08:36 -07:00 |
Anshul Sharma
|
ef3c10c403
|
Modify Validate Region for test cases
|
2018-09-17 14:45:55 -07:00 |
Anshul Sharma
|
98f13eaf29
|
Use DescribeRegions for aws region validation
|
2018-09-17 14:45:55 -07:00 |
Megan Marsh
|
f4e6d06e68
|
reset poll delay seconds default to 2 because it can actuall be used in one part of the conditional tree for applyEnvOverrides
|
2018-09-17 11:10:50 -07:00 |
Megan Marsh
|
38cc525ec7
|
new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
|
2018-09-14 11:06:38 -07:00 |
Adrien Delorme
|
770f61e682
|
spot instance creation, only set blockDurationMinutes when > 0
|
2018-09-12 10:21:39 -07:00 |
Adrien Delorme
|
2e73ed8d46
|
pass Comm instance to fix Spot instance creation
|
2018-09-11 18:20:14 -07:00 |
Matt DeBoer
|
09797df958
|
use a UI wrapper to auto-decode error messages
update docs to reflect optional config
|
2018-09-11 16:05:43 -07:00 |
Megan Marsh
|
a0edaf6c46
|
Going to revert this change for now, becuase of potential issues that arise from calling Prepare() twice
Revert "use statebag instead of SetSharedState for winRM password"
This reverts commit b35acbd879 .
|
2018-09-10 16:48:42 -07:00 |
Sargun Dhillon
|
63d784023f
|
Add support to support non-gp2 volume types for building from_scratch
|
2018-09-06 13:22:09 -07:00 |
Sargun Dhillon
|
07ce820c70
|
Enable setting the volume type when building with the Amazon Chroot builder
|
2018-09-06 13:22:09 -07:00 |
Megan Marsh
|
b94e6e913e
|
Merge pull request #6670 from sargun/fix-ena-on-pv
Allow users to build hvm images from pv images to have ena_support
|
2018-09-06 12:50:46 -07:00 |
Adrien Delorme
|
b80e1d51c6
|
aws: when building an AMI with 'encrypt_boot: true', randomize the name of the temporary AMI
|
2018-09-05 10:24:28 +02:00 |
Sargun Dhillon
|
902497d6ce
|
Allow users to build hvm images from pv images to have ena_support
|
2018-09-04 18:16:52 -07:00 |
Megan Marsh
|
349f9ae62b
|
Merge pull request #6641 from hashicorp/increase_retries
Increase retries
|
2018-09-04 11:39:28 -07:00 |
Adrien Delorme
|
2a2734505b
|
Merge pull request #6649 from hashicorp/fix_6569
Fix 6569
|
2018-09-03 08:44:07 +02:00 |
RenaudS
|
26aab49aaf
|
aws spot instances: add block_duration_minutes option (#6638)
* Add block_duration_minutes option
* int64 cannot be nil
* Update doc
* Fix formating
|
2018-09-03 08:33:58 +02:00 |
Megan Marsh
|
4472ecccb0
|
fix waiters that weren't applying env defaults
|
2018-08-31 13:30:41 -07:00 |
Megan Marsh
|
9926988ab7
|
Merge pull request #6621 from hashicorp/ssh_keys_centralised
Merge ssh fields usage
|
2018-08-30 14:13:21 -07:00 |
Megan Marsh
|
2b9f937c23
|
increase max retries from 3 to 20
|
2018-08-30 09:35:06 -07:00 |
Adrien Delorme
|
df9e756865
|
pass the Comm instance to the amazon ebs builders steps
|
2018-08-30 12:50:29 +02:00 |
Adrien Delorme
|
b0c09087a2
|
move SSHInterface/SSHIPVersion fields to communitator.Config struct
|
2018-08-29 14:51:28 +02:00 |
Adrien Delorme
|
0938b640cc
|
use key pair name from config
|
2018-08-29 14:40:33 +02:00 |
Adrien Delorme
|
ef4ca9c48e
|
builder.amazon: use c.Comm for ssh
|
2018-08-29 14:40:33 +02:00 |
Adrien Delorme
|
9a9b82715b
|
config.Comm.SSHKeyPair => SSHKeyPairName
|
2018-08-29 14:40:33 +02:00 |
Adrien Delorme
|
3a4bb26150
|
builder.aws: use key pair from comm struct
|
2018-08-29 14:40:33 +02:00 |
Adrien Delorme
|
293c485372
|
builder.aws: use SSHAgentAuth from Comm
|
2018-08-29 14:40:33 +02:00 |
Adrien Delorme
|
ef08c441c9
|
builder.aws: use Comm field for StepKeyPair & StepGetPassword
|
2018-08-29 14:40:33 +02:00 |
Adrien Delorme
|
51d2aac9f6
|
SSHPrivateKey => SSHPrivateKeyFile
|
2018-08-29 14:40:32 +02:00 |
Megan Marsh
|
e4f6b6f720
|
fix chroot communicator to properly escape quotes
|
2018-08-28 09:16:43 -07:00 |
Matthew Hooker
|
e41e99954d
|
go 1.11 format rules
|
2018-08-24 15:56:44 -07:00 |
Megan Marsh
|
b35acbd879
|
use statebag instead of SetSharedState for winRM password
|
2018-08-24 13:51:16 -07:00 |
Megan Marsh
|
fa99f931b7
|
Merge pull request #6601 from hashicorp/fix_6536
Increase waiter timeout for AWS WaitUntilImageAvailable command
|
2018-08-24 09:35:58 -07:00 |
Adrien Delorme
|
6bbcd3e914
|
Remove remaining unused ssh config funcs and add missing calls (#6622)
* Remove duplicate unused SSHConfig funcs
* call to SSHConfigFunc() for azure/arm builder
* ncloud too
* remove empty ncloud file
|
2018-08-24 16:00:40 +02:00 |
Megan Marsh
|
340363a649
|
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
Merge ssh config funcs from builders
|
2018-08-23 16:03:36 -07:00 |
Adrien Delorme
|
41f6e0334d
|
refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
* still need to append the auth methods into an array for gracefullness
|
2018-08-22 17:02:23 +02:00 |
Megan Marsh
|
ff6a039d5b
|
replace scrubconfig with packer.LogSecretFilter.Set
filter winrm password from logs
Add new root-level packer template option, sensitive-variables, to tell us what user variables to mark sensitive.
|
2018-08-20 15:35:55 -07:00 |
Matthew Hooker
|
31fcfe4bc2
|
PoC for filtering logs
|
2018-08-20 15:20:21 -07:00 |
Megan Marsh
|
00c6ec979f
|
do 30 minutes not 25
|
2018-08-17 13:30:02 -07:00 |
Megan Marsh
|
00de0f4996
|
increase the timeout for waiting for an ami to become available
|
2018-08-17 13:27:19 -07:00 |
Megan Marsh
|
71cad4f2a9
|
fix tests
|
2018-08-14 12:30:05 -07:00 |
Megan Marsh
|
250da0ab49
|
fix security hole with ami filter
|
2018-08-13 17:01:13 -07:00 |
Anshul Sharma
|
c1edcd3774
|
amazon-ebssurrogate clean up volumes
|
2018-07-26 09:38:59 +03:00 |