Commit Graph

754 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 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 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
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
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
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 7928b5b045 fix transcription error from when we moved to generated docs
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 078ba7c8c3 commit old code generation tool
6 years ago
Adrien Delorme 221e72e9c3 builder.amazon.common: remove pointer (*) from []*string and map[*string]*string types
6 years ago
Megan Marsh 0e70e0e5a4 fix template imports
6 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"
6 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