Adrien Delorme
f03cbd8a10
aws: allow to pass nil bool as encryption parameter
...
to retain current encryption settings
this changes the fields :
* ami_config.encrypt_boot
* block_device.encrypted
This also removes StepCreateEncryptedAMICopy as this step is now done in StepAMIRegionCopy
2019-02-27 11:17:56 +01:00
Mikhail Ushanov
ee133482b4
aws: add validation for device_name parameter
...
cause it's required in block-device-mapping.
Signed-off-by: Mikhail Ushanov <gm.mephisto@gmail.com>
2018-10-16 21:37:48 +03:00
Matthew Hooker
cea2ab8c6d
move kms/encrypted validation to block devices
2018-01-12 15:10:51 -08:00
Jason Wieringa
2ac59b3c27
builder/amazon: Added KmsKeyID to BlockDevice
...
+ Adds kms_key_id to list of options
+ Tests that configuraiton is set along with encrypted
+ Updates documentation on ebsvolume builder
2018-01-11 20:27:38 -08:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Jeremy Asher
85ae04bb75
split up BlockDevices in amazon/common
...
This breaks up the two options provided by BlockDevices into separate
structs to allow only one of them to be used by the amazon-chroot
builder.
2016-09-03 09:58:45 -07:00
Mark Peek
f6c7e3740f
Don't create EBS block device if VirtualName is specified
2015-10-18 11:05:21 -07:00
Mark Peek
914e78f602
builder/amazon/common: go fmt
2015-10-18 11:00:05 -07:00
Or Cohen
2a94b596ce
Fix and refactor block device mapping builder
...
Fix NoDevice not properly configured #2398 .
Refactor the mapping builder to match BlockDeviceMapping from AWS SDK:
* If NoDevice is specified, include NoDevice only.
* If VirtualName starts with ephemeral, don't create Ebs (they are mutually
exclusive anyway)
* Otherwise, assume Ebs and create it with the exact specified attributes by
the user.
Change/add tests to reflect these changes.
2015-08-25 00:24:05 +03:00
Chris Bednarski
1a775c05d9
Update calls to amazon to match the upstream
...
- see http://aws.amazon.com/releasenotes/2948141298714307
- run awsmigrate-renamer on each amazon module (chroot, instance, etc.)
2015-08-17 17:44:01 -07:00
Chris Bednarski
28bf1877c2
Updated AWS SDK calls to match the 0.7.0 release of the AWS SDK
2015-07-28 17:10:21 -07:00
Chris Bednarski
9365a43179
Reformat
2015-07-15 17:07:36 -07:00
Anthony Spring
224bb78175
Make EBS block device mapping optional for ephemeral virtual names.
2015-07-15 17:04:45 -07:00
Tommy Ulfsparre
8ae0cfc759
copy and convert to pointer
2015-06-25 20:07:45 +02:00
Clint Shryock
c9714ce69e
builder/amazon-ebs: Clean up orphan volumes
...
Fixes #1783
2015-06-19 10:22:39 -05:00
Jan Schumann
802cfa3871
make sure IOPS is not set for empty VolumeType
2015-06-10 17:21:25 +02:00
Clint Shryock
999b0874cc
Update AWS EBS builder to fix invalid params
2015-06-09 11:38:53 -05:00
Seth Vargo
33ca8b7fb5
Migrate to new AWS repo
2015-06-03 17:13:52 -04:00
Mitchell Hashimoto
b78b119a11
amazon/*: fix merge issues with lib switch
2015-05-28 08:31:22 -07:00
Mitchell Hashimoto
44b980e659
Merge branch 'aws-sdk-go' of https://github.com/jen20/packer into jen20-aws-sdk-go
2015-05-28 08:24:41 -07:00
Mitchell Hashimoto
50d7c598e9
amazon/ebs: use new interpolation stuff
2015-05-27 11:35:56 -07:00
James Nugent
e99cd56b6c
Migrate from mitchellh/goamz to awslabs/aws-sdk-go
...
This commit moves the Amazon builders of Packer away from the Hashicorp
fork of the goamz library to the official AWS SDK for Go, in order that
third party plugins may depend on the more complete official library
more easily.
2015-04-12 21:33:09 -04:00
James Sinclair
02ebef9031
Use an index loop as range loops over copies, not references
...
Fixes #1637
2014-12-05 17:27:00 +11:00
Mitchell Hashimoto
5db91c84bf
builder/amazon: string fields on device mappings can use variables
2014-09-05 12:38:19 -07:00
Greg Burek
3a45712780
Adds support for encrypted EBS volumes
2014-05-22 11:36:22 -07:00
Mitchell Hashimoto
0417ae3059
builder/amazon: alphabetize some things
2014-04-30 15:43:11 -07:00
Mitchell Hashimoto
48a53446bf
builder/amazon/common: don't need squash here
2013-09-06 11:48:38 -07:00
Mitchell Hashimoto
e9d6e83436
builder/amazon/common: support NoDevice [GH-396]
2013-09-06 11:44:57 -07:00
Mark Peek
91670cea07
builder/amazon: add block device mappings [GH-90]
2013-08-15 14:05:08 -07:00