diff --git a/pkg/deploy/gce/deploy.go b/pkg/deploy/gce/deploy.go index 2ae584ff6..8ed28ee09 100644 --- a/pkg/deploy/gce/deploy.go +++ b/pkg/deploy/gce/deploy.go @@ -48,6 +48,7 @@ import ( compute "google.golang.org/api/compute/v1" storage "google.golang.org/api/storage/v1" "google.golang.org/cloud" + "google.golang.org/cloud/logging" cloudstorage "google.golang.org/cloud/storage" ) @@ -87,6 +88,7 @@ var ( func NewOAuthConfig(clientID, clientSecret string) *oauth2.Config { return &oauth2.Config{ Scopes: []string{ + logging.Scope, compute.DevstorageFull_controlScope, compute.ComputeScope, "https://www.googleapis.com/auth/sqlservice", @@ -377,6 +379,7 @@ func (d *Deployer) createInstance(computeService *compute.Service, ctx *context. { Email: "default", Scopes: []string{ + logging.Scope, compute.DevstorageFull_controlScope, compute.ComputeScope, "https://www.googleapis.com/auth/sqlservice", diff --git a/pkg/deploy/gce/handler.go b/pkg/deploy/gce/handler.go index 52e8ec98f..317440e14 100644 --- a/pkg/deploy/gce/handler.go +++ b/pkg/deploy/gce/handler.go @@ -1048,6 +1048,7 @@ This tool helps you create your own private Camlistore instance running on Googl