Merge pull request #10316 from unixsurfer/unixsurfer/adjust_googlecompute-export

googlecompute-export: Add logging.write to service account scopes
This commit is contained in:
Megan Marsh 2020-12-14 16:35:21 -08:00 committed by GitHub
commit 0db037b4ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -183,6 +183,7 @@ func (p *PostProcessor) PostProcess(ctx context.Context, ui packersdk.Ui, artifa
"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 != "" {