Megan Marsh
|
b0cfecf314
|
remove unnecessary valid flag
|
2018-10-17 11:03:31 -07:00 |
|
Matt Dainty
|
9e0fae9db3
|
Add support to explicitly disable ENA support
If `ena_support` is set to false then it previously didn't do anything
whereas now it will explicitly disable ENA support.
Fixes #6852
|
2018-10-17 14:58:07 +01:00 |
|
Megan Marsh
|
d4767845f0
|
fix tests
|
2018-10-16 15:01:13 -07:00 |
|
Megan Marsh
|
7c3f0aa3b2
|
make sure region validation catches authentication errors
|
2018-10-16 14:17:30 -07:00 |
|
Mikhail Ushanov
|
ee133482b4
|
aws: add validation for device_name parameter
cause it's required in block-device-mapping.
Signed-off-by: Mikhail Ushanov <gm.mephisto@gmail.com>
|
2018-10-16 21:37:48 +03:00 |
|
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 b35acbd8798a1baa645f0d181731a9cd9318a61c.
|
2018-09-10 16:48:42 -07:00 |
|
Adrien Delorme
|
e02d0dacc4
|
Merge branch 'master' into aws-filters
|
2018-09-07 16:14:00 +02: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 |
|
Rickard von Essen
|
23f62f221e
|
Only filter SG's on VPC if it's set. Only use VPC's and Subnets that are available
|
2018-08-24 20:24:48 +02: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 |
|
Rickard von Essen
|
533967cb66
|
builder/amazon: Add suppport for security_group_filter
Allow selecting SG's using a filter. Also some cleanup of vpc_filter and
subnet_filter.
|
2018-08-24 12:42:38 +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 |
|