google-app-engine


Do not have permission to access app while deploying google service account


After creating google service account with permission as shown below - deployment fails with message . I am failing to understand where this is going wrong.
====
$ gcloud iam service-accounts get-iam-policy cdemail#appid.iam.gserviceaccount.com
bindings:
- members:
- serviceAccount:cdemail#appid.iam.gserviceaccount.com
role: roles/owner
etag: Bxxxxxxxxg=
====
$ gcloud auth activate-service-account --key-file ../a.json
Activated service account credentials for: [cdemail#appid.iam.gserviceaccount.com]
$ gcloud app deploy
ERROR: (gcloud.app.deploy) You do not have permission to access app [appid].
Have got it working now.
$ gcloud app deploy --log-http --verbosity=debug
reason on why it fails is seen with action to enable app engine api (link will be shown in command output). Enable the api - then try deploying again (this time without --log-http as this is resulting in a gcloud crash).
It should go through.
To add to npr's answer. Run this in the command if you have not authenticated yourself for your default app/project (after enabling the API):
gcloud auth application-default login

Related Links

Cron per Service/Module (AppEngine)
How do we parse and generate App Engine URL-Safe Datastore Keys in the Google Cloud API?
Google App Engine: How to create HTTPS endpoints with flexible environment?
Deployed Google Endpoints Quickstart app giving error message when i request url?
Google Cloud SDK vs Google Cloud Client Libraries
when does dispatch.xml get updated?
How do I stop this Google cloude Instances billing?
Google Appengine Deployment Security Woes
google cloud share vm access to other google account
Save result from Objectify in human readable form in datastore
Storing images and structured data together (Google Cloud Platform)
Use a subdomain instead of https://storage.googleapis.com
App Engine Flexible to Cloud Storage Network Unreachable
Google Cloud Search API - is there a limit to number of document puts per second?
Stackdriver Analysis report unavailable error
Dependencies not installing from lib directory in google app engine

Categories

HOME
uml
google-app-engine
prism
gdb
github-for-windows
themes
camera
vscode-extensions
nuget
alarm
pdfbox
access
aws-cli
dojo
python-multithreading
webix
title
flume
extjs4.2
spin
enthought
emoji
cmdb
dynatrace
event-sourcing
firefox-addon
oledb
charles
libigl
dpdk
pimcore
hta
event-store
qliksense
definitelytyped
siri
android-things
vex
testbed
erb
android-sugarorm
login-script
getlasterror
python-pptx
docfx
salesforce-communities
lint
bc
recurrent-neural-network
doc
movilizer
tcc
file-sharing
flask-login
plan-9
jide
mongotemplate
qtranslate
truezip
type-theory
universal-analytics
objectscript
cd-burning
juice-ui
materialized-path-pattern
mapxtreme
builtins
neon
dimension
halcon
false-sharing
iokit
ess
jdk1.7
ansi
git-ftp
adehabitathr
infosphere-spl
packet-sniffers
ghcjs
ssis-data-flow
gii
cuba
kissfft
matrix-inverse
ray
buffering
decoupling
notorm
flex++
epiceditor
font-awesome-4.0.0
composite-component
zope.interface
multiplexing
socketserver
ruby-1.8
resharper-6.0
dot-emacs
visualj#
google-wave
great-circle

Resources

Encrypt Message