mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-19 06:21:41 -04:00
googlecompute-export: Fixed scopes to run gcloud, gsutil in startup script
This commit is contained in:
@@ -79,6 +79,11 @@ func (p *PostProcessor) PostProcess(ui packer.Ui, artifact packer.Artifact) (pac
|
||||
Zone: zone,
|
||||
Network: "default",
|
||||
RawStateTimeout: "5m",
|
||||
Scopes: []string{
|
||||
"https://www.googleapis.com/auth/userinfo.email",
|
||||
"https://www.googleapis.com/auth/compute",
|
||||
"https://www.googleapis.com/auth/devstorage.full_control",
|
||||
},
|
||||
}
|
||||
exporterConfig.CalcTimeout()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user