Commit Graph

225 Commits (e2fe35ef40bbce9b87f945901afa00a3fa769093)

Author SHA1 Message Date
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 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 f555e7a9f2 allow a provisioner to timeout
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 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
Sargun Dhillon 601e754438 amazon/chroot: Allow creating new block device mappings !not fromScratch
7 years ago
Megan Marsh 0abd16527e
Merge pull request #7337 from sargun/fix-chroot-builder
7 years ago
Adrien Delorme f03cbd8a10 aws: allow to pass nil bool as encryption parameter
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 3704a053d0 move region validation and credential wait into step pre validate
7 years ago
Megan Marsh 035c3506ba manually set proxyfromenvironment in default http client for ec2 sessions
7 years ago
Adrien Delorme b7222d1f56 Add tmp package that offers Dir & File funcs
7 years ago
Matt Dainty feb8067c7d Convert `ena_support` to a pointer
7 years ago
Matthew Hooker 9181570bc3
remove stray struct dumps in logs
8 years ago
Megan Marsh 79093da6ad skip region validation in tests that don't care; refactor Prepare func so we can test region validation logic with a mock
8 years ago
Megan Marsh 93f1155a14 remove test-related special casing
8 years ago
Sargun Dhillon 63d784023f Add support to support non-gp2 volume types for building from_scratch
8 years ago
Sargun Dhillon 07ce820c70 Enable setting the volume type when building with the Amazon Chroot builder
8 years ago
Megan Marsh b94e6e913e
Merge pull request #6670 from sargun/fix-ena-on-pv
8 years ago
Sargun Dhillon 902497d6ce Allow users to build hvm images from pv images to have ena_support
8 years ago
Megan Marsh e4f6b6f720 fix chroot communicator to properly escape quotes
8 years ago
Megan Marsh ff6a039d5b replace scrubconfig with packer.LogSecretFilter.Set
8 years ago
Anshul Sharma 885ecb0790
Issue-6309 Amazon Chroot Provider
8 years ago
Megan Marsh f49a2d8aed move UI call to before the wait; add context to these steps
8 years ago
Megan Marsh cf63dd10bf replace AMIStateRefreshFunc, InstanceStateRefreshFunc, our spot instance waiter, our chroot volume waiter, and our snapshot waiters with waiters form AWS's SDK.
8 years ago
Megan Marsh 87a93e84ac sh -c to execute command to accomodate communicator change
8 years ago
M. Marsh 62e1323577
Merge pull request #5956 from hashicorp/dedupe_shell_local
8 years ago
Megan Marsh e670eed315 Add new option, nvme_device_path, so that we can properly mount nvme block devices.
8 years ago
Megan Marsh 6dc4b1cbdc move all of the run commands for shell-local provisioner and postprocessor into common library too
8 years ago
Megan Marsh 616b41e58f deduplicate the nearly identical communicators for the shell-local provisioner and post-processor, moving single communicator into a new common/shell-local module
8 years ago
Megan Marsh 59e3ec722d allow user to mount entire block device in chroot builder
8 years ago
Matthew Hooker 21812fa17f
Add volume and run tags if in us-gov/china
8 years ago
Matthew Hooker fad4d5c272
update tests for mapstructure behavior changes
8 years ago
Matthew Hooker 7a189a83a1
fix imports
8 years ago
Matthew Hooker a831d522be
change run signatures
8 years ago
Matthew Hooker 366dc3da0a
move multistep imports to helper.
8 years ago
Matthew Hooker ebe995c0ff
run goimports
8 years ago
Matthew Hooker f3dea272d9
Set session in state bag
8 years ago
Matthew Hooker f6c401a143
don't pass in accessconfig
8 years ago
Rong Chen 3e92b1374e issue5606: follow the convention to use AccessConfig to create new aws session for step_create_tags etc.
8 years ago
Krzysztof Wilczynski 05327b7524
amazon: Remove Session Token (STS) from being shown in the log.
8 years ago
Matthew Hooker f681faa296
fix tests
8 years ago
Matthew Hooker c65fa8490d
fix various bugs deregistering AMIs
8 years ago