Commit Graph

972 Commits (78cf1405abff0519f9912ccbf1ae5e0056741786)

Author SHA1 Message Date
Adrien Delorme aee73d745d update code after go mod update
7 years ago
Adrien Delorme d72040f4fa move retry code into the common/retry pkg and make retry context aware
7 years ago
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
7 years ago
Adrien Delorme a81abd297b Merge remote-tracking branch 'origin/master' into context_provisioner
7 years ago
Megan Marsh 3e72e65a6c
Merge pull request #7456 from hashicorp/do_5770
7 years ago
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts
7 years ago
Adrien Delorme a4bf94dd3c change Builder to be passed a context for cancellation
7 years ago
Adrien Delorme 9836dad0c9 introduce the clean_resource_name to clean image names and deprecate the old ones
7 years ago
Akshat Mahajan f07e4214cc Addresses issues #5384, #5494: Rename and change `temporary_security_group_source_cidr`
7 years ago
programmer04 596a9cc7ff Improve error message for AWS and Alibaba
7 years ago
Adrien Delorme 9f82b75e57 Use the hashicorp/go-getter to download files
7 years ago
Megan Marsh 0196d7f835
Merge pull request #7370 from sargun/allow-users-to-specify-custom-block-device-mapping
7 years ago
Megan Marsh 3ed9fe6dee remove unused imports
7 years ago
Megan Marsh 0ed57a37a3 dont overwrite session config in ebs builder
7 years ago
Megan Marsh ca9a5daf29 fix proxy and tls
7 years ago
Sargun Dhillon 601e754438 amazon/chroot: Allow creating new block device mappings !not fromScratch
7 years ago
Megan Marsh ec3b0a5138 fix conflict from mergeing too many things to master at once
7 years ago
Megan Marsh 9d2b06bd61
Merge pull request #7342 from hashicorp/fix_7316
7 years ago
Megan Marsh 0abd16527e
Merge pull request #7337 from sargun/fix-chroot-builder
7 years ago
Adrien Delorme f535464097 up a test
7 years ago
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
7 years ago
Adrien Delorme ce8532e94b aws: document ValidateRegion better
7 years ago
Adrien Delorme 6af621c37a aws: StepAMIRegionCopy call waitgroup.add only once
7 years ago
Michael F 01a0b0c766 kmsArnStartPattern - fix support for aws-us-gov
7 years ago
Megan Marsh 026e543b24 move snapshot deletion to cleanup; this allows people with tag-specific permissions to perform snapshot deletion operation
7 years ago
Megan Marsh 3b726e66c1 swap region copy and encryption steps
7 years ago
Sargun Dhillon 142a84ef43 amazon/chroot: Refactor step_register_ami for testing EBS-related behaviour
7 years ago
Sargun Dhillon d3c65ee77d builder/amazon/chroot: Fix building PV images with mount_partition
7 years ago
Megan Marsh 2a613dd6e9 fix up the github suggestion
7 years ago
Adrien Delorme 3ae5a912d4
Update builder/amazon/common/step_pre_validate.go
7 years ago
Megan Marsh 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Megan Marsh 8add176ab7 finish first pass at vault code; needs testing and cleanup of error messages
7 years ago
Megan Marsh 7a78b47e83 make vault engine stuff into a little struct for easier management
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Adrien Delorme 4a2773f8fa remove default max retries config of 8, it will now be used from env
7 years ago
Adrien Delorme 964b149df2 aws: remove now unused AccessConfig.metadataRegion
7 years ago
Adrien Delorme 335f442b51 aws: unwrap AccessConfig.region func
7 years ago
Adrien Delorme 54af9951a8 make guard clauses to clearly see success pass
7 years ago
Adrien Delorme 0864b4d07b name unclear import
7 years ago
Megan Marsh e0543246fa remove commented code
7 years ago
Megan Marsh 783ed32e7e fix region stuff
7 years ago
Adrien Delorme 9f7b4ffc17
Merge branch 'master' into pr/6950
7 years ago
Megan Marsh ee2e5cc874
Merge pull request #7080 from hashicorp/do_6508
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Tom Elliff 12bf7fc4d6 Check that the KMS key ID is valid
7 years ago
Megan Marsh 042e9ad14b Move logging about aws waiters to the access config prepare() so that it's only spit out once per builder.
7 years ago
Megan Marsh c03894c05d fix bad interpolation exemption for volume_size
7 years ago
Megan Marsh da6e350949 fix tests
7 years ago
Megan Marsh fbb3d526e3 move region validation to run so that we don't break validation when we don't have aws creds set
7 years ago
Mikhail Ushanov 536252683e builders: reuse private key file reading function
7 years ago