From f2f6772aee487e487f5a805395aa58df732d0169 Mon Sep 17 00:00:00 2001 From: krisko Date: Thu, 2 May 2019 17:33:47 +0200 Subject: [PATCH] Document image_encryption_key --- website/source/docs/builders/googlecompute.html.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/website/source/docs/builders/googlecompute.html.md b/website/source/docs/builders/googlecompute.html.md index dfbdd514e..1248b556f 100644 --- a/website/source/docs/builders/googlecompute.html.md +++ b/website/source/docs/builders/googlecompute.html.md @@ -270,6 +270,17 @@ builder. - `image_name` (string) - The unique name of the resulting image. Defaults to `"packer-{{timestamp}}"`. +- `image_encryption_key` (object of encryption key) - Image encryption key to apply to the created image. Possible values: + * kmsKeyName - The name of the encryption key that is stored in Google Cloud KMS. + * RawKey: - A 256-bit customer-supplied encryption key, encodes in RFC 4648 base64. + + example: + ``` json + { + "kmsKeyName": "projects/${project}/locations/${region}/keyRings/computeEngine/cryptoKeys/computeEngine/cryptoKeyVersions/4" + } + ``` + - `instance_name` (string) - A name to give the launched instance. Beware that this must be unique. Defaults to `"packer-{{uuid}}"`.