Commit Graph

1132 Commits (70aa0516deb7cd0d03d321fa025fa5ae581bb883)

Author SHA1 Message Date
Mike Dziedziela 7c3e032fb7 amazon docs: update block-device-configuration docs (#8395)
6 years ago
Megan Marsh 59e6e1d4d5
Merge pull request #8393 from hashicorp/fix_8362
6 years ago
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
Anthony Dong 2e989088e5 amazon-ebssurrogate: allow enabling ena/sr-iov on spot instances
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
DanHam b40e5d90b6
builder/amazon/common/step_pre_validate: Return DescribeVpcs errors
6 years ago
nywilken afb880c134 test/builder/amazon/common/step_pre_validate: Update DescribeVpcs mock
6 years ago
DanHam 074be9942d
Only validate the user has provided a subnet_id when vpc_id has been 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
nywilken 488e539f63 builder/amazon: Add helper function for checking against AWSError
6 years ago
Megan Marsh 6e2456d028 make error messaging around ResourceNotReady better, update docs with other possible issues (#8349)
6 years ago
cove 2898d66812
retry runinstances aws api that wasn't retried and could fail
6 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
6 years ago
Megan Marsh 517834d528 Revert "Revert "remove clean_ami_name and clean_image_name; complete the deprecation for these functions in favor of clean_resource_name""
6 years ago
Megan Marsh fcb65ee422
Merge pull request #8307 from hashicorp/fix_8116
6 years ago
Megan Marsh e9e4c102e5 delete amazon import post-processor intermediary snapshots
6 years ago
Adrien Delorme 1b7ef252d2
Merge pull request #8303 from alrs/amazon-builder-cleanup
6 years ago
Lars Lehtonen d072079899
builder/amazon/common: remove dead test type and function mockEC2Conn_Modify_EBS.ModifyInstanceAttribute()
6 years ago
Lars Lehtonen 953be1603b
builder/amazon/common: remove dead test type and function mockEC2ConnSpot.DescribeSpotPriceHistory()
6 years ago
Lars Lehtonen 7a09f9c678
builder/amazon/common: remove dead test function fakeModifyEBSBackedInstanceState()
6 years ago
Lars Lehtonen 0a13b620d6
builder/amazon/common: remove dead test function StepModifyEBSBackedInstance_EnableAMIENASupport()
6 years ago
Lars Lehtonen c74df8b652
builder/amazon/common: remove dead test function getMockConnSpot()
6 years ago
Lars Lehtonen e5e2bfa83f
builder/amazon/common: remove nil check on slice, len() on nil slices is zero
6 years ago
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
6 years ago
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
6 years ago
Megan Marsh 6191b9c8c6
Merge pull request #8288 from hashicorp/fix_8271
6 years ago
Megan Marsh d084cd1895 Update builder/amazon/common/ami_config.go
6 years ago
Megan Marsh e9f02e44cb add test to catch this case
6 years ago
Megan Marsh 7cf47fc463 add some extra layers of validation to make sure that people don't trip over magical encrypt_boot settings later in the build
6 years ago
Megan Marsh e2283445f2 need to initialize variables scoped to the individual loop, because the address of k,v stay the same and that means we overwrite previous variables when assigning them to the struct directly.
6 years ago
Megan Marsh a783a09ea3
Merge pull request #8269 from paulmey/paulmey/generalize-chroot
6 years ago
Megan Marsh 7928b5b045 fix transcription error from when we moved to generated docs
6 years ago
Paul Meyer 3be7d81ce2 Move common steps together
6 years ago
Paul Meyer e6dfe301ac Move CommandWrapper & ShellCommand to common
6 years ago
Megan Marsh b9245a402d add structure to its own struct to make generated code stop complaining
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 ec1d70dc44 adding required changes
6 years ago
Bernard Baltrusaitis 65d1447b64 adding formatting
6 years ago
Bernard Baltrusaitis 6e2146324f Merge branch 'master' of github.com:b-b3rn4rd/packer
6 years ago
Bernard Baltrusaitis 8b83cca064 adding temporary instance profile document policy
6 years ago
Adrien Delorme cf1555bf17 Merge remote-tracking branch 'origin/master' into artifact-tree
6 years ago
Paul Meyer 977ca5be1c Add StepCopyFiles and StepChrootProvision
6 years ago
Paul Meyer 9a3e6661b1 Add StepMountExtra
6 years ago
Paul Meyer addbdedea9 Add StepPostMountCommands
6 years ago