googlecompute-export: Add logging.write to service account scopes

This commit is contained in:
Pavlos Parissis 2020-11-30 10:49:34 +01:00
parent 73b7499811
commit fac8ba2040
No known key found for this signature in database
GPG Key ID: 83FC92DA1F7176B9
1 changed files with 1 additions and 0 deletions

View File

@ -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 != "" {