hashicorp/packer

Feature request - allow exporting an image using the AWS VM export service.

Open

#5978 opened on Mar 6, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (13,697 stars) (3,228 forks)batch import
bugbuilder/amazonenhancementhelp wantednew-plugin-contributionremote-plugin/amazon

Description

Feature request - allow exporting an image using the AWS VM export service.

Amazon allows export of running VMs to OVF format given a target bucket. this is extremely handy for multi-cloud installations where a single unified source is needed, in order to build both the AMI and the OVF in the same step using AWS resources.

Implementation suggestion:

optional keys for the AWS builders: 'export_machine' (defaults to false), export_s3_bucket, export_s3_prefix, export_target_environment, export_container_format. issue the export command before shutting down the machine.

Contributor guide