Commit Graph

918 Commits (a297d73b980ce7ecbb33dbfb1a132fb927e69b3a)

Author SHA1 Message Date
Adrien Delorme 9a9b82715b config.Comm.SSHKeyPair => SSHKeyPairName
8 years ago
Adrien Delorme 3a4bb26150 builder.aws: use key pair from comm struct
8 years ago
Adrien Delorme 293c485372 builder.aws: use SSHAgentAuth from Comm
8 years ago
Adrien Delorme ef08c441c9 builder.aws: use Comm field for StepKeyPair & StepGetPassword
8 years ago
Adrien Delorme 51d2aac9f6 SSHPrivateKey => SSHPrivateKeyFile
8 years ago
Megan Marsh e4f6b6f720 fix chroot communicator to properly escape quotes
8 years ago
Matthew Hooker e41e99954d
go 1.11 format rules
8 years ago
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
8 years ago
Rickard von Essen 23f62f221e Only filter SG's on VPC if it's set. Only use VPC's and Subnets that are available
8 years ago
Megan Marsh fa99f931b7
Merge pull request #6601 from hashicorp/fix_6536
8 years ago
Adrien Delorme 6bbcd3e914
Remove remaining unused ssh config funcs and add missing calls (#6622)
8 years ago
Rickard von Essen 533967cb66 builder/amazon: Add suppport for security_group_filter
8 years ago
Megan Marsh 340363a649
Merge pull request #6613 from hashicorp/merge_ssh_config_funcs
8 years ago
Rickard von Essen 9840862757 builder/amazon: Add suppport for vpc_filter and subnet_filter
8 years ago
Adrien Delorme 41f6e0334d refactor all copy pasted sshConfig with into communicator.Config.SSHConfigFunc
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Matthew Hooker 31fcfe4bc2 PoC for filtering logs
8 years ago
Megan Marsh 00c6ec979f do 30 minutes not 25
8 years ago
Megan Marsh 00de0f4996 increase the timeout for waiting for an ami to become available
8 years ago
Megan Marsh 71cad4f2a9 fix tests
8 years ago
Megan Marsh 250da0ab49 fix security hole with ami filter
8 years ago
Anshul Sharma c1edcd3774
amazon-ebssurrogate clean up volumes
8 years ago
Megan Marsh 07b6bc0c4f
Merge pull request #6504 from sharmaansh/6309-amazon-chroot-create-volume-tags
8 years ago
Matthew Hooker 814c1cf2b2
spellfix
8 years ago
Anshul Sharma 885ecb0790
Issue-6309 Amazon Chroot Provider
8 years ago
James Nugent 9fffe4056e
Merge pull request #5452 from smaato/tag-spot-requests
8 years ago
Mark Meyer 2fec76ea87 Check if spot price is empty, when spot_tags is set
8 years ago
Megan Marsh b6b907f523 read in the environment variables that government wait time and polling time for the AWS wait in step_stop_ebs_volume
8 years ago
Megan Marsh 8e22803099 fix loading of environment variables for managing aws waiters
8 years ago
Megan Marsh f657ca39c9 refactored env var code and tests so that I don't have to set env vars during tests to check logic
8 years ago
Megan Marsh 14166fdd99 update amazon import docs to include the env vars for setting aws waiter delays and timeouts
8 years ago
Megan Marsh bfbe318727 fix the homegrown waiters
8 years ago
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps
8 years ago
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
8 years ago
Mark Meyer 3dbf1cb371 Enable tagging of spot requests
8 years ago
EC2 Default User 58f73aabbf Add ap-northeast-3 region
8 years ago
Megan Marsh 87a93e84ac sh -c to execute command to accomodate communicator change
8 years ago
James Nugent b97475b647
Merge pull request #6265 from DanHam/enable-t2-unlimited
8 years ago
DanHam af7f7f2ce9
Fix redundant Sprintf
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
Megan Marsh e670eed315 Add new option, nvme_device_path, so that we can properly mount nvme block devices.
8 years ago
M. Marsh a8b6a04dda
Merge pull request #6194 from hashicorp/fix_6176
8 years ago
DanHam ec8b70721c
Use an explicit error message when an error is expected and we don't get one
8 years ago
DanHam 82c8710af5
Use fmt.Errorf over errors.New as we only require basic error reporting
8 years ago
DanHam 99e3487795
Add missing validation and tests for Spot Instance requests
8 years ago
DanHam d5304a25e9
Pass T2 Unlimited settings to run instance step for appropriate EC2 builders
8 years ago
DanHam 6fc68754d7
Allow use of T2 unlimited by adding appropriate request for the instance
8 years ago
DanHam df7fb86984
Add tests for T2 Unlimited configuration
8 years ago
DanHam be02b3f613
Validate template settings when T2 Unlimited has been enabled
8 years ago
DanHam 482629ae90
Add config option to enable/disable T2 Unlimited for the launched instance
8 years ago
DanHam 2c339b99d2
Sort run config options alphabetically
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
Matthew Hooker 0521efa200
correctly log reason waiting for ami failed.
8 years ago
Matthew Hooker 7d5ebd5500
Merge pull request #6217 from alessiot77/5887
8 years ago
AlessioT 3d4c7d0df1 Feature Request: Log reason why AMI creation failed
8 years ago
DanHam 9b6fc5a58d
Remove tmp files created by builder/amazon/instance tests
8 years ago
DanHam 54e9690dff
Remove tmp files created by builder/amazon/common tests
8 years ago
AlessioT 373226e9c5 Extract state reason for failure
8 years ago
AlessioT 09bb21774d alessio.tomasino@yahoo.co.uk
8 years ago
AlessioT c27f3e9445 alessio.tomasino@yahoo.co.uk
8 years ago
Megan Marsh 59e3ec722d allow user to mount entire block device in chroot builder
8 years ago
Matthew Hooker cbdf9db832
Use contexts with amazon waiters.
8 years ago
Megan Marsh 3afb243f11 use build name to ensure that winrm password and other shared state is not overwritten if two builders need the password in the same packer run.
8 years ago
Matthew Hooker f094b3be85
update changelog
8 years ago
Matthew Hooker 302b1988a5
Restrict deregistered AMIs to those owned by self.
8 years ago
Megan Marsh 22608f3efd
Merge pull request #6088 from adongy/master
8 years ago
ADO 04790695e6 Add interpolate_build_info_test tests
8 years ago
ADO 507b3619e7 Expose more source ami data in the template
8 years ago
Joseph Wright 1913517d29 Fix formatting by running `make fmt`
8 years ago
Joseph Wright cb3699a584 Modify ebssurrogate builder to snapshot all launch devices
8 years ago
Megan Marsh 072cd6b745
Merge pull request #5998 from hashicorp/do_5895
8 years ago
Matthew Hooker b16f2ec64b
builder/amazon: Use sdk default cred providers
8 years ago
Matthew Hooker e483087574
builder/amazon: Use service default retries.
8 years ago
Megan Marsh d689e6b4d3 allow users of AWS to use the dynamically-generated admin password which we use as the winRM password as an elevated password in the Powershell provisioner, as well as an environment variable in same provisoner.
8 years ago
Josh Soref 0171dfc890 spelling: validating
8 years ago
Josh Soref 007930ec2d spelling: restricted
8 years ago
Less Mo 686cacb435
builder/amazon: Added new region cn-northwest-1
8 years ago
Matthew Hooker 2806523834
Fix issue with assume role credentials
8 years ago
Matthew Hooker 19a89a101e
builder/amazon: remove ssh_private_ip
8 years ago
Matthew Hooker 5b64f71702
Merge pull request #5764 from hashicorp/fix5760
8 years ago
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
8 years ago
Matthew Hooker fad4d5c272
update tests for mapstructure behavior changes
8 years ago
Megan Marsh de2e5edf2e remove errant change in amazon builder
8 years ago
Megan Marsh 6556a851dc
fix ssh key handling
8 years ago
Matthew Hooker eafda52411
use amazon steps from master
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker a0c625ea44
Revert "working with opt-in"
8 years ago
Matthew Hooker e98f201602
working with opt-in
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker 807e88245b
trying to add context to state bag
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Matthew Hooker cea2ab8c6d
move kms/encrypted validation to block devices
8 years ago
Matthew Hooker e968f9d6cc
spelling/style fixes
8 years ago
Jason Wieringa f6772f06be builder/amazon: Raise error when ebsvolume kms_key_id is without encrypted = true
8 years ago
Jason Wieringa 2ac59b3c27 builder/amazon: Added KmsKeyID to BlockDevice
8 years ago
Matthew Hooker f5ea1e8312
Use WaitUntilInstanceReady waiter
8 years ago
Matthew Hooker dfd5f07145
fix ebs acc test
8 years ago
Matthew Hooker c5bcb97d06
"borrow" access config code from terraform.
8 years ago