Update amazon-import.html.md

Include usage info and example for `license_type` configuration option
This commit is contained in:
Brian Warsing 2017-03-07 13:12:10 -08:00 committed by Brian Warsing
parent c5dfe3d503
commit c23f212bbb
1 changed files with 3 additions and 0 deletions

View File

@ -58,6 +58,8 @@ Optional:
- `ami_description` (string) - The description to set for the resulting imported AMI. By default this description is generated by the AMI import process.
- `license_type` (string) - The license type to be used for the Amazon Machine Image (AMI) after importing. Valid values: `AWS` or `BYOL` (default). For more details regarding licensing, see [Prerequisites](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/VMImportPrerequisites.html) in the VM Import/Export User Guide.
## Basic Example
Here is a basic example. This assumes that the builder has produced an OVA artifact for us to work with, and IAM roles for import exist in the AWS account being imported into.
@ -69,6 +71,7 @@ Here is a basic example. This assumes that the builder has produced an OVA artif
"secret_key": "YOUR SECRET KEY HERE",
"region": "us-east-1",
"s3_bucket_name": "importbucket",
"license_type": "BYOL",
"tags": {
"Description": "packer amazon-import {{timestamp}}"
}