Commit Graph

64 Commits (80ed988ffe4e5eb8df98b4e7cf1c8f51599bb7af)

Author SHA1 Message Date
Jessi 88c516b2d5
Add IMDSv2 support for AWS EBS builder (#10546)
5 years ago
Narthana Epa cf30b49e6c
Use run_tags (resp run_volume_tags) to tags intances (resp volumes) created from the spot instance launch template
5 years ago
Narthana Epa f7588a3737
Add printing of launch template id
5 years ago
Narthana Epa f7e68f1d71
Add spot tags as resource tags of instances and volumes in launch template
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Anssi Junnola 82a25ec419 Fix retry logic in AWS spot instance tagging
5 years ago
Megan Marsh 39354f64e5 move helper/communicator dir into packer-plugin-sdk
5 years ago
Megan Marsh 001886670d move Ui definition into the packer plugin sdk.
5 years ago
Megan Marsh 3f6deb8828 move multistep into the plugin sdk
5 years ago
Megan Marsh 7d658149ea update tests and website and generated partials to reflect new package format
5 years ago
Megan Marsh 6402362018 create packer-plugin-sdk directory and begin moving the relevant folders into it.
5 years ago
Aleksandr Serbin 8dab31b548 amazon: use spot tags for launch template tags
6 years ago
Aleksandr Serbin d561b404d6 amazon-ebs: add tags to launch template
6 years ago
Adrien Delorme b058de072a move packer/builder/amazon/common.IsAWSErr to builder/amazon/common/awserrors.Matches
6 years ago
Sylvia Moss d347bbec4c
Retry fleet creating only on invalid IAM instance profile (#9946)
6 years ago
Adrien Delorme a0c09e85df
retry spot instance creation when an "Invalid IAM Instance Profile name" error pops up (#9810)
6 years ago
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
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
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
8 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