Commit Graph

310 Commits (70aa0516deb7cd0d03d321fa025fa5ae581bb883)

Author SHA1 Message Date
Megan Marsh 818d9bb087 send to step run spot instance
6 years ago
Megan Marsh 67c3373107 enable no_ephemeral for spot devices, clean up ranging behavior, update docs
6 years ago
Megan Marsh 08e97ba4d8 generate code for no_ephemeral option
6 years ago
Megan Marsh 0e2bdc8be6 forcibly prevent ephemeral drives from being created in the amazon-ebs builder, when no_ephemeral is set
6 years ago
nywilken f9f4726eff builder/amazon/step_pre_validate: Add check for non-default VPCs
6 years ago
Megan Marsh dfa134cd98 ditch else statement for improved clarity
6 years ago
Megan Marsh ce8bca349f Update builder/amazon/ebs/step_create_ami.go
6 years ago
Megan Marsh a35ac0127e fix bug in step_region_copy
6 years ago
Megan Marsh 5614f307fb regerate code
6 years ago
Megan Marsh d15f43e4eb
Merge pull request #8232 from hashicorp/artifact-tree
6 years ago
Bernard Baltrusaitis 8b83cca064 adding temporary instance profile document policy
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Megan Marsh 0cbd3ff0f3 make sure amazon builders respect ssh_host option
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh 1d9bba6fe3 change AMIEncryptBootVolume to trilean
7 years ago
Megan Marsh 1a6adadb89 convert EnableAMIENASupport to trilean in code
7 years ago
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
Megan Marsh 54d2ad5028 refactored step_ami_region_copy to fix bugs and clarify assumptions; added more tests for that step.
7 years ago
Megan Marsh 6ad975f296 Revert "move SSHInterface/SSHIPVersion fields to communitator.Config struct"
7 years ago
Megan Marsh c722afe707 stop calculating spot bids; amazon changed the way spot instances are priced to be stable rather than bid-based, so when user sets auto, we can just default to the ondemand price and know that they'll get the same price as everyone else bidding at that time.
7 years ago
Adrien Delorme 9f4c8fb321 document ebs builder using partials
7 years ago
Adrien Delorme c696878d2e aws block devices mapping: BlockDevices.Build -> BuildEC2BlockDeviceMappings()
7 years ago
Adrien Delorme ff2e0298ba simplify block devices utilisation by removing intermediary types
7 years ago
Megan Marsh 0d55bc46ee add skip_save_build_region flag to fix naming conflicts when building for multiple regions
7 years ago
Adrien Delorme 8e857d64f1 aws: rewrap struct comments for documentation generation
7 years ago
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
Megan Marsh 2c352cc681 add tests for step_ami_region_copy
7 years ago
Megan Marsh ae3cf48f71 in ebs, don't clean up temporary amis from encryption step. that's handled in step_copy_ami now
7 years ago
Megan Marsh 105d3f8853 delete unencrypted temporary snapshot when encrypt_boot is true. Also, fix nil map error in region copy
7 years ago
Megan Marsh 201c8c1332 make sure that you encrypt using the provided kms key id and not the default
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 0ed57a37a3 dont overwrite session config in ebs builder
7 years ago
Megan Marsh ec3b0a5138 fix conflict from mergeing too many things to master at once
7 years ago
Megan Marsh 9d2b06bd61
Merge pull request #7342 from hashicorp/fix_7316
7 years ago
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
7 years ago
Megan Marsh 3b726e66c1 swap region copy and encryption steps
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 fbb3d526e3 move region validation to run so that we don't break validation when we don't have aws creds set
7 years ago
Megan Marsh 9573013d3a
Merge pull request #6872 from aspectcapital/disable-ena-support
8 years ago
Matt Dainty feb8067c7d Convert `ena_support` to a pointer
8 years ago
Megan Marsh 57f87f58b9
Merge pull request #6374 from rickard-von-essen/aws-filters
8 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