make generate

This commit is contained in:
Adrien Delorme 2019-09-20 15:10:32 +02:00
parent 55f1c734d0
commit 3a6bd22cbb
5 changed files with 22 additions and 18 deletions

View File

@ -4,5 +4,5 @@
value is false.
- `security_token` (string) - STS access token, can be set through template or by exporting as
environment variable such as export SECURITY_TOKEN=value.
environment variable such as `export SECURITY_TOKEN=value`.

View File

@ -33,13 +33,12 @@
[template engine](/docs/templates/engine.html), see [Build template
data](#build-template-data) for more information.
- `ena_support` (config.Trilean) - Enable enhanced networking (ENA but not
SriovNetSupport) on HVM-compatible AMIs. If set, add
ec2:ModifyInstanceAttribute to your AWS IAM policy. If false, this will
disable enhanced networking in the final AMI as opposed to passing the
setting through unchanged from the source. Note: you must make sure
enhanced networking is enabled on your instance. [Amazon's
documentation on enabling enhanced
- `ena_support` (config.Trilean) - Enable enhanced networking (ENA but not SriovNetSupport) on
HVM-compatible AMIs. If set, add `ec2:ModifyInstanceAttribute` to your
AWS IAM policy.
Note: you must make sure enhanced networking is enabled on your
instance. See [Amazon's documentation on enabling enhanced
networking](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/enhanced-networking.html#enabling_enhanced_networking).
- `sriov_support` (bool) - Enable enhanced networking (SriovNetSupport but not ENA) on

View File

@ -1,7 +1,7 @@
<!-- Code generated from the comments of the AMIConfig struct in builder/amazon/common/ami_config.go; DO NOT EDIT MANUALLY -->
- `ami_name` (string) - The name of the resulting AMI that will appear when
managing AMIs in the AWS console or via APIs. This must be unique. To help
make this unique, use a function like timestamp (see [template
- `ami_name` (string) - The name of the resulting AMI that will appear when managing AMIs in the
AWS console or via APIs. This must be unique. To help make this unique,
use a function like timestamp (see [template
engine](../templates/engine.html) for more info).

View File

@ -89,11 +89,9 @@
`security_group_ids` take precedence over this.
- `run_tags` (map[string]string) - Tags to apply to the instance that is *launched* to create the AMI.
These tags are *not* applied to the resulting AMI unless they're
duplicated in `tags`. This is a [template
engine](/docs/templates/engine.html), see [Build template
data](#build-template-data) for more information.
- `run_tags` (map[string]string) - Tags to apply to the instance that is that is *launched* to create the
EBS volumes. This is a [template engine](/docs/templates/engine.html),
see [Build template data](#build-template-data) for more information.
- `security_group_id` (string) - The ID (not the name) of the security
group to assign to the instance. By default this is not set and Packer will

View File

@ -27,8 +27,15 @@
- `disk_size` (int64) - The size (in GB) of the root disk of the new
instance. This option is only available when using source_template.
- `eject_iso` (bool) -
- `eject_iso_delay` (time.Duration) -
- `eject_iso` (bool) - If `true` make a call to the CloudStack API, after loading image to
cache, requesting to check and detach ISO file (if any) currently
attached to a virtual machine. Defaults to `false`. This option is only
available when using `source_iso`.
- `eject_iso_delay` (time.Duration) - Configure the duration time to wait, making sure virtual machine is able
to finish installing OS before it ejects safely. Requires `eject_iso`
set to `true` and this option is only available when using `source_iso`.
- `expunge` (bool) - Set to true to expunge the instance when it is
destroyed. Defaults to false.