Commit Graph

717 Commits (0c2fba089d8c8a80d5dadf16fe596a263f30f052)

Author SHA1 Message Date
Megan Marsh 0e70e0e5a4 fix template imports
7 years ago
Megan Marsh 44f91c9afc Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name"
7 years ago
Adrien Delorme d4600a7716 fix go imports
7 years ago
Megan Marsh 0026792d2f remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name
7 years ago
Megan Marsh e16fb19bfc don't abort on a single error if another availability zone was able to create the instance
7 years ago
Megan Marsh eccf0fb51d update docs
7 years ago
Megan Marsh e047b97bf7
Merge pull request #8162 from hashicorp/fix_8154
7 years ago
Megan Marsh ac6e7a4800 updates tests to validate that ssh_host value supplied in the template overrides all else
7 years ago
Adrien Delorme 941dc394f0 Update step_run_spot_instance.go
7 years ago
Adrien Delorme d049284120
Update builder/amazon/common/step_run_spot_instance.go
7 years ago
Adrien Delorme 07e97e26de
step_run_source_instance.go: make sure we use the right ShouldRetry error
7 years ago
Megan Marsh c722009159 we only need one describeInstances call, not 3, and it should be wrapped in a retry
7 years ago
Megan Marsh e47059aaca put retry around describeinstances call in amazon
7 years ago
Megan Marsh 31bb1e818f fix tests
7 years ago
Megan Marsh 0cbd3ff0f3 make sure amazon builders respect ssh_host option
7 years ago
Megan Marsh 72d393c95a update docs to show a use case for block device mappings
7 years ago
Adrien Delorme 4fb05e5bc4 fix test
7 years ago
Adrien Delorme 849de792da re-apply doc changes of master
7 years ago
Adrien Delorme 3fe9d52e3f Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
7 years ago
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
Adrien Delorme 9f8e9893b3 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
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 9d0bc476d9 add ommited struct interpolation
7 years ago
Adrien Delorme 5517d41468 make sure all documentation fields are there
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
Adrien Delorme 4cb7c30987 Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
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 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
Adrien Delorme 433c40d72d make block device example less specific
7 years ago
Adrien Delorme 9f4c8fb321 document ebs builder using partials
7 years ago
Adrien Delorme a476ab79d7 document chroot builder using partials
7 years ago