Commit Graph

996 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
Megan Marsh 305592d8ed fix copy logic and tests
7 years ago
Megan Marsh 8cc82ca8d2 add broken test
7 years ago
Megan Marsh 0d55bc46ee add skip_save_build_region flag to fix naming conflicts when building for multiple regions
7 years ago
Megan Marsh 1c3b234b55
Merge pull request #7737 from hashicorp/document_retry
7 years ago
Adrien Delorme 98206d59d7 aws: step_create_tags make the max waiting time 30s and not 30ns
7 years ago
Pratyush Singhal d92e82c43f refactor: replace the maxBackoff from 30 nanosecond to 30 seconds
7 years ago
Pratyush singhal d4b0cb68e3 feat: add retry for temp key-pair generation in amazon-ebs
7 years ago
Megan Marsh 3f036b33c5 test for length of ami tags before tagging
7 years ago
Megan Marsh 078d888dba
Merge pull request #7707 from CARFAX/master
7 years ago
Jason McIntosh abef9820c7 Fixed spacing on comment
7 years ago
Jason McIntosh 24a4e2f23e Updated comments
7 years ago
Jason McIntosh 24bc50ce1b Enable encrypted AMIs with custom KMS Keys
7 years ago
Megan Marsh 6786c0d641 update tests to reflect new behavior
7 years ago
Megan Marsh bda09bf7d5 the build ami is made with an intermediary name, which means that we can't skip copying even from the original build region when unencrypted
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
Megan Marsh 1062295ecd add omit_from_artifact option for ebssurragote launch_block_devices
7 years ago
Megan Marsh 2cfba56265 fix typos
7 years ago
Megan Marsh 02c9f24531 allow user to set architecture
7 years ago
Megan Marsh 2c352cc681 add tests for step_ami_region_copy
7 years ago
Megan Marsh ae3cf48f71 in ebs, don't clean up temporary amis from encryption step. that's handled in step_copy_ami now
7 years ago
Megan Marsh 8c1d0f9686 clean up temporary unencrypted AMI and associated snapshots
7 years ago
Megan Marsh c0e69a9da0 if encrypt_boot is explicitly set to false, don't copy. Also, make sure we don't cause a wait group block when we aren't performing a copy.
7 years ago
Megan Marsh 105d3f8853 delete unencrypted temporary snapshot when encrypt_boot is true. Also, fix nil map error in region copy
7 years ago
Megan Marsh 201c8c1332 make sure that you encrypt using the provided kms key id and not the default
7 years ago
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