Commit Graph

835 Commits (5aed151b1f72d30e6bd52fa2dad2efbb600fe5a5)

Author SHA1 Message Date
Wilken Rivera 7b705545d9
docs: Various doc clean-ups to fix code block formatting and syntax highlighting (#8868)
6 years ago
Megan Marsh 4133acbdf3 update spot price docs
6 years ago
Wilken Rivera e1a46ec293
Fix gosimple S1025 linting errors (#8838)
6 years ago
Megan Marsh dde74232f2
Clearly document all template-engine-enabled options (#8770)
6 years ago
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Adrien Delorme 7d5f0c11af add max_retries option to aws builders
6 years ago
Wilken Rivera a1d9ba0e32
Merge pull request #8699 from fly1028/fix-instance-running-timeout
6 years ago
Patrick Ng e5e5fd1198 Instance Running waiter not aware of global waiter settings
6 years ago
Megan Marsh d252a24b82 allow user to set winrm_host override like we do ssh_host override
6 years ago
Sylvia Moss dc31bad539
Sharing info with post-processors via artifact (#8632)
6 years ago
nywilken d2a9e6b32e Format code with `gofmt -s -w`
6 years ago
Wilken Rivera 111bab86d9
Merge pull request #8622 from datalot/pre-validate-with-filters
6 years ago
Sylvia Moss 0b7251a4bb
Share .Device and .MountPath between builders, provisioners and post-processors (#8621)
6 years ago
Rich Cavanaugh 4fb0de5256 allow validation to pass when subnet filters are present
6 years ago
Sylvia Moss 39c25b2c66
Add retry mechanism to amazon DeleteSnapshot (#8614)
6 years ago
Sylvia Moss 0677b02e18
Share SourceImageName with provisioners and manifest post-processor (#8603)
6 years ago
Sylvia Moss 0e177915f8
Add retry mechanism to DeregisterImage from awsec2 (#8598)
6 years ago
Megan Marsh b7ee807cf1
Merge pull request #8571 from hashicorp/fix_8565
6 years ago
Megan Marsh 6655f93b59 fix typo and regenerate code
6 years ago
Megan Marsh 76251e5fd2 fix ssh interface docs for amazon builders
6 years ago
Trevor Pounds 47e48ebc24 Add source AMI owner ID/name to build template.
6 years ago
Adrien Delorme 4b7132c87c Merge remote-tracking branch 'origin/master' into sharing_info
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Megan Marsh 84063d2132 implement ID and Type values in the provisioner template info sharing
6 years ago
Megan Marsh 6f418d0e54 get data sharing to a working state with the powershell provisioner
6 years ago
Megan Marsh 601007e3e2 pas data into provisioners well
6 years ago
Oded Priva 5e81c6f44e added the option to skip IAM instance profile validation (#8457)
6 years ago
Moss 28c720bd3a Organize imports
6 years ago
Moss 250643d54b Remove 5 sec sleep after adding iam instance profile
6 years ago
Moss 4516978555 Fix request retry mechanism to run aws instance
6 years ago
Jon Allie c31bbcf4cf builder/amazon: AmiFilterOptions.GetOwners: avoid taking the address of a loop iterator var (#8417)
6 years ago
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
7 years ago
Megan Marsh 67c3373107 enable no_ephemeral for spot devices, clean up ranging behavior, update docs
7 years ago
Anthony Dong 2e989088e5 amazon-ebssurrogate: allow enabling ena/sr-iov on spot instances
7 years ago
Megan Marsh 0e2bdc8be6 forcibly prevent ephemeral drives from being created in the amazon-ebs builder, when no_ephemeral is set
7 years ago
DanHam b40e5d90b6
builder/amazon/common/step_pre_validate: Return DescribeVpcs errors
7 years ago
nywilken afb880c134 test/builder/amazon/common/step_pre_validate: Update DescribeVpcs mock
7 years ago
DanHam 074be9942d
Only validate the user has provided a subnet_id when vpc_id has been set
7 years ago
nywilken f9f4726eff builder/amazon/step_pre_validate: Add check for non-default VPCs
7 years ago
nywilken 488e539f63 builder/amazon: Add helper function for checking against AWSError
7 years ago
Megan Marsh 6e2456d028 make error messaging around ResourceNotReady better, update docs with other possible issues (#8349)
7 years ago
cove 2898d66812
retry runinstances aws api that wasn't retried and could fail
7 years ago
Megan Marsh 6c704f7046 Revert "fix template imports"
7 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""
7 years ago
Megan Marsh fcb65ee422
Merge pull request #8307 from hashicorp/fix_8116
7 years ago
Megan Marsh e9e4c102e5 delete amazon import post-processor intermediary snapshots
7 years ago
Lars Lehtonen d072079899
builder/amazon/common: remove dead test type and function mockEC2Conn_Modify_EBS.ModifyInstanceAttribute()
7 years ago
Lars Lehtonen 953be1603b
builder/amazon/common: remove dead test type and function mockEC2ConnSpot.DescribeSpotPriceHistory()
7 years ago
Lars Lehtonen 7a09f9c678
builder/amazon/common: remove dead test function fakeModifyEBSBackedInstanceState()
7 years ago
Lars Lehtonen 0a13b620d6
builder/amazon/common: remove dead test function StepModifyEBSBackedInstance_EnableAMIENASupport()
7 years ago
Lars Lehtonen c74df8b652
builder/amazon/common: remove dead test function getMockConnSpot()
7 years ago
Lars Lehtonen e5e2bfa83f
builder/amazon/common: remove nil check on slice, len() on nil slices is zero
7 years ago
Megan Marsh 6191b9c8c6
Merge pull request #8288 from hashicorp/fix_8271
7 years ago
Megan Marsh d084cd1895 Update builder/amazon/common/ami_config.go
7 years ago
Megan Marsh e9f02e44cb add test to catch this case
7 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
7 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.
7 years ago
Megan Marsh 7928b5b045 fix transcription error from when we moved to generated docs
7 years ago
Megan Marsh b9245a402d add structure to its own struct to make generated code stop complaining
7 years ago
Megan Marsh 5614f307fb regerate code
7 years ago
Megan Marsh d15f43e4eb
Merge pull request #8232 from hashicorp/artifact-tree
7 years ago
Bernard Baltrusaitis ec1d70dc44 adding required changes
7 years ago
Bernard Baltrusaitis 65d1447b64 adding formatting
7 years ago
Bernard Baltrusaitis 6e2146324f Merge branch 'master' of github.com:b-b3rn4rd/packer
7 years ago
Bernard Baltrusaitis 8b83cca064 adding temporary instance profile document policy
7 years ago
Adrien Delorme 078ba7c8c3 commit old code generation tool
7 years ago
Adrien Delorme 221e72e9c3 builder.amazon.common: remove pointer (*) from []*string and map[*string]*string types
7 years ago
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