From fac8ba2040102f507f259f092f62e1b2d3352263 Mon Sep 17 00:00:00 2001 From: Pavlos Parissis Date: Mon, 30 Nov 2020 10:49:34 +0100 Subject: [PATCH] googlecompute-export: Add logging.write to service account scopes --- post-processor/googlecompute-export/post-processor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/post-processor/googlecompute-export/post-processor.go b/post-processor/googlecompute-export/post-processor.go index f3bcc684a..08e76b4c9 100644 --- a/post-processor/googlecompute-export/post-processor.go +++ b/post-processor/googlecompute-export/post-processor.go @@ -183,6 +183,7 @@ func (p *PostProcessor) PostProcess(ctx context.Context, ui packer.Ui, artifact "https://www.googleapis.com/auth/compute", "https://www.googleapis.com/auth/devstorage.full_control", "https://www.googleapis.com/auth/userinfo.email", + "https://www.googleapis.com/auth/logging.write", }, } if p.config.ServiceAccountEmail != "" {