Commit Graph

1026 Commits (ffa3781dc23e79e8f2d0c1993cfabb4e4fc6f2d0)

Author SHA1 Message Date
Adrien Delorme 4d4bd38afa
Merge pull request #8087 from hashicorp/fix_8048
7 years ago
Megan Marsh 9503802814 adding ctx makes the cancel channel redundant
7 years ago
Megan Marsh 4b497006b3 add retry wrapper to query so it handles rate limiting
7 years ago
Adrien Delorme de9bb26f62
Merge branch 'master' into fix_7959
7 years ago
DanHam bbeb1a3528
Delete any `run_volume_tags` applied to EBS volumes at instance creation
7 years ago
DanHam 61b1605a85
More accurate error description; Add comments; Add output
7 years ago
DanHam 430d41fbf9
Add option to enable tagging of the running instances volumes
7 years ago
DanHam 30070ffb30
Sort fields and options alphabetically
7 years ago
Adrien Delorme 86cee5cbef
Merge pull request #8034 from cove/retry-describe-instances
7 years ago
cove 87e0a3b5e7 add prevalidating AMI name retries so the build doesn't fail when throttled
7 years ago
Adrien Delorme 2efc94521b use trilean initializers in test where missing
7 years ago
Megan Marsh 6a895db9be converte block device encryption to trilean
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
Megan Marsh 3c3f7f26ce implement custom data type "trilean" (tri-state-boolean) to track booleans which have a "null" or "unset" state. Previously we used *bool for these template options, but it turns out that those won't work because "unset" will evaluate to "false" if a user is using template variables to set the option that maps to a *bool.
7 years ago
Megan Marsh 4aa33306cb make sure that fleetId exists before trying to stick it into error message
7 years ago
Megan Marsh 316a30b31d fix spot_tags
7 years ago
Megan Marsh 9f6d14c75a work around spot_tags related regression and bad fleet cleanup in spot instances
7 years ago
Megan Marsh b42701380c add test for nil case
7 years ago
DanHam 088151e51d
Type assertion safety - fix panic when key cannot be retrieved from statebag
7 years ago
Christian Muehlhaeuser 216afbaa8b
Fixed various typos
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 39a4da4d07 add code to deduplicate the region list, and to make sure that the original region's kms key id is in the map.
7 years ago
Megan Marsh 6ad975f296 Revert "move SSHInterface/SSHIPVersion fields to communitator.Config struct"
7 years ago
Megan Marsh 62120c5c0b
Merge pull request #7813 from hashicorp/stop_calculating_spot_bids
7 years ago
Megan Marsh d4b6a61445 don't store names of volumes we will be deleting when the instance terminates
7 years ago
Megan Marsh 42611e6004 fix build
7 years ago
Megan Marsh a60f7e395e add a test to make sure we don't error becaue of spot price auto product, yet
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
Daniel Rodgers-Pryor 8a9753032c Allow EC2 fleet packer instances to run in parallel
7 years ago
Megan Marsh 305592d8ed fix copy logic and tests
7 years ago
Megan Marsh 8cc82ca8d2 add broken test
7 years ago
Megan Marsh 0d55bc46ee add skip_save_build_region flag to fix naming conflicts when building for multiple regions
7 years ago
Megan Marsh 1c3b234b55
Merge pull request #7737 from hashicorp/document_retry
7 years ago
Adrien Delorme 98206d59d7 aws: step_create_tags make the max waiting time 30s and not 30ns
7 years ago
Pratyush Singhal d92e82c43f refactor: replace the maxBackoff from 30 nanosecond to 30 seconds
7 years ago
Pratyush singhal d4b0cb68e3 feat: add retry for temp key-pair generation in amazon-ebs
7 years ago
Megan Marsh 3f036b33c5 test for length of ami tags before tagging
7 years ago
Megan Marsh 078d888dba
Merge pull request #7707 from CARFAX/master
7 years ago
Jason McIntosh abef9820c7 Fixed spacing on comment
7 years ago
Jason McIntosh 24a4e2f23e Updated comments
7 years ago
Jason McIntosh 24bc50ce1b Enable encrypted AMIs with custom KMS Keys
7 years ago
Megan Marsh 6786c0d641 update tests to reflect new behavior
7 years ago
Megan Marsh bda09bf7d5 the build ami is made with an intermediary name, which means that we can't skip copying even from the original build region when unencrypted
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 1062295ecd add omit_from_artifact option for ebssurragote launch_block_devices
7 years ago
Megan Marsh 2cfba56265 fix typos
7 years ago
Megan Marsh 02c9f24531 allow user to set architecture
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