Commit Graph

68 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
Megan Marsh 708165eaa8 refactoring step_run_spot_instance and swapping out the calls to create a spot instance with a call to create a spot fleet of one, so that we can be more flexible with the instance type when desired
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Akshat Mahajan f07e4214cc Addresses issues #5384, #5494: Rename and change `temporary_security_group_source_cidr`
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 3ed9fe6dee remove unused imports
7 years ago
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Megan Marsh c03894c05d fix bad interpolation exemption for volume_size
7 years ago
Megan Marsh 9573013d3a
Merge pull request #6872 from aspectcapital/disable-ena-support
7 years ago
Matt Dainty feb8067c7d Convert `ena_support` to a pointer
7 years ago
Megan Marsh 57f87f58b9
Merge pull request #6374 from rickard-von-essen/aws-filters
7 years ago
Adrien Delorme 22d3e9b5c4 builder/amazon/ebs: pass config as a pointer so values could be populated by a run
8 years ago
Matthew Hooker 9181570bc3
remove stray struct dumps in logs
8 years ago
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
8 years ago
Megan Marsh 38cc525ec7 new option allowing user to clean up the ephemeral ssh key from the authorized_keys file
8 years ago
Adrien Delorme 2e73ed8d46 pass Comm instance to fix Spot instance creation
8 years ago
Adrien Delorme e02d0dacc4
Merge branch 'master' into aws-filters
8 years ago
RenaudS 26aab49aaf aws spot instances: add block_duration_minutes option (#6638)
8 years ago
Adrien Delorme df9e756865 pass the Comm instance to the amazon ebs builders steps
8 years ago
Adrien Delorme b0c09087a2 move SSHInterface/SSHIPVersion fields to communitator.Config struct
8 years ago
Adrien Delorme ef4ca9c48e builder.amazon: use c.Comm for ssh
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
Matthew Hooker e41e99954d
go 1.11 format rules
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
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
Mark Meyer 3dbf1cb371 Enable tagging of spot requests
8 years ago
DanHam d5304a25e9
Pass T2 Unlimited settings to run instance step for appropriate EC2 builders
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
ADO 507b3619e7 Expose more source ami data in the template
8 years ago
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
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
Rickard von Essen 63f791570a
Merge pull request #5665 from kwilczynski/remove-sts-token-from-logging
8 years ago
Matthew Hooker f216330ba3
spot instance ena/sriov checking for all other builders
8 years ago
Krzysztof Wilczynski 05327b7524
amazon: Remove Session Token (STS) from being shown in the log.
8 years ago
John Davies-Colley 707ec675b2 ssh interface for amazon builders 🔨
8 years ago
Matthew Hooker 95e4ae251e
WIP
8 years ago
Mark Meyer 309bf61257 Add missing blockdevices to ebsvolume builder
8 years ago
Mark Meyer 1cc9b3f1e3 Bring back volume tagging to ebsvolume
8 years ago
Matthew Hooker f7e269945e
add cidr validation and rename option
9 years ago
Matthew Hooker c74be87187 Merge pull request #5384 from dave2/sg-source-cidr
9 years ago