Merge pull request #7642 from hashicorp/fix_7640
document alias keys usage
This commit is contained in:
commit
cc78ac2da9
|
@ -159,11 +159,7 @@ each category, the available configuration keys are alphabetized.
|
||||||
- `insecure_skip_tls_verify` (boolean) - This allows skipping TLS
|
- `insecure_skip_tls_verify` (boolean) - This allows skipping TLS
|
||||||
verification of the AWS EC2 endpoint. The default is `false`.
|
verification of the AWS EC2 endpoint. The default is `false`.
|
||||||
|
|
||||||
- `kms_key_id` (string) - ID, alias or ARN of the KMS key to use for boot
|
<%= partial "partials/builders/aws-common-opional-fields" %>
|
||||||
volume encryption. This only applies to the main `region`, other regions
|
|
||||||
where the AMI will be copied will be encrypted by the default EBS KMS key.
|
|
||||||
For valid formats see *KmsKeyId* in the [AWS API docs -
|
|
||||||
CopyImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html).
|
|
||||||
|
|
||||||
- `from_scratch` (boolean) - Build a new volume instead of starting from an
|
- `from_scratch` (boolean) - Build a new volume instead of starting from an
|
||||||
existing AMI root volume snapshot. Default `false`. If `true`, `source_ami`
|
existing AMI root volume snapshot. Default `false`. If `true`, `source_ami`
|
||||||
|
|
|
@ -237,11 +237,7 @@ builder.
|
||||||
- `force_deregister` (boolean) - Force Packer to first deregister an existing
|
- `force_deregister` (boolean) - Force Packer to first deregister an existing
|
||||||
AMI if one with the same name already exists. Default `false`.
|
AMI if one with the same name already exists. Default `false`.
|
||||||
|
|
||||||
- `kms_key_id` (string) - ID, alias or ARN of the KMS key to use for boot
|
<%= partial "partials/builders/aws-common-opional-fields" %>
|
||||||
volume encryption. This only applies to the main `region`, other regions
|
|
||||||
where the AMI will be copied will be encrypted by the default EBS KMS key.
|
|
||||||
For valid formats see *KmsKeyId* in the [AWS API docs -
|
|
||||||
CopyImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html).
|
|
||||||
|
|
||||||
- `iam_instance_profile` (string) - The name of an [IAM instance
|
- `iam_instance_profile` (string) - The name of an [IAM instance
|
||||||
profile](https://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html)
|
profile](https://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html)
|
||||||
|
|
|
@ -230,11 +230,7 @@ builder.
|
||||||
associated with AMIs, which have been deregistered by `force_deregister`.
|
associated with AMIs, which have been deregistered by `force_deregister`.
|
||||||
Default `false`.
|
Default `false`.
|
||||||
|
|
||||||
- `kms_key_id` (string) - ID, alias or ARN of the KMS key to use for boot
|
<%= partial "partials/builders/aws-common-opional-fields" %>
|
||||||
volume encryption. This only applies to the main `region`, other regions
|
|
||||||
where the AMI will be copied will be encrypted by the default EBS KMS key.
|
|
||||||
For valid formats see *KmsKeyId* in the [AWS API docs -
|
|
||||||
CopyImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html).
|
|
||||||
|
|
||||||
- `iam_instance_profile` (string) - The name of an [IAM instance
|
- `iam_instance_profile` (string) - The name of an [IAM instance
|
||||||
profile](https://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html)
|
profile](https://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html)
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
- `kms_key_id` (string) - ID, alias or ARN of the KMS key to use for boot
|
||||||
|
volume encryption. This only applies to the main `region`, other regions
|
||||||
|
where the AMI will be copied will be encrypted by the default EBS KMS key.
|
||||||
|
For valid formats see *KmsKeyId* in the [AWS API docs -
|
||||||
|
CopyImage](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CopyImage.html).
|
||||||
|
This field is validated by Packer, when using an alias, you will have to
|
||||||
|
prefix `kms_key_id` with `alias/`.
|
Loading…
Reference in New Issue