Commit Graph

48 Commits (d-powershell-generated-docs)

Author SHA1 Message Date
sylviamoss 788dc32598 add aws_polling config option to override env variables
6 years ago
Megan Marsh a56942d3c7 change isAwsErr to an exported func so I can use it in other aws modules.
6 years ago
Megan Marsh a885e620ee don't error for no mappings if no mappings were set.
6 years ago
Anthony Dong 2322d3ae6b aws: retry fetching blockdevicemapping if empty
6 years ago
Megan Marsh fc36a37db8 only set NoDevice if NoEphemeral is set; otherwise, legit block device mappings get destroyed
6 years ago
Adrien Delorme d532bb376c wip
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Megan Marsh 67c3373107 enable no_ephemeral for spot devices, clean up ranging behavior, update docs
6 years ago
nywilken 488e539f63 builder/amazon: Add helper function for checking against AWSError
6 years ago
Bernard Baltrusaitis 8b83cca064 adding temporary instance profile document policy
6 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
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
Megan Marsh c722009159 we only need one describeInstances call, not 3, and it should be wrapped in a retry
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 42611e6004 fix build
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 dcc22df609 aws: move the OmitFromArtifact field in ebssurrogat where it's being used
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 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 d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Megan Marsh 57f87f58b9
Merge pull request #6374 from rickard-von-essen/aws-filters
7 years ago
Adrien Delorme 770f61e682 spot instance creation, only set blockDurationMinutes when > 0
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 0938b640cc use key pair name from config
8 years ago
Rickard von Essen 533967cb66 builder/amazon: Add suppport for security_group_filter
8 years ago
James Nugent 9fffe4056e
Merge pull request #5452 from smaato/tag-spot-requests
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
Matthew Hooker cbdf9db832
Use contexts with amazon waiters.
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 f5ea1e8312
Use WaitUntilInstanceReady waiter
8 years ago
Matthew Hooker dada63801b
also use waiter code for spot instances
8 years ago
Mark Meyer 7e1646826d Check if VolumeTags is empty before tagging volumes
8 years ago
Mark Meyer dbb3c76032 Remove redundant step and its usage
9 years ago
Mark Meyer 2661fd7869 Move building of spot instances into its own step
9 years ago