Every now and then my IAM user / service account that I created loses the ability to do deploys:
HttpException: Permissions error fetching application [apps/PROJECT_ID]. Please make sure you are using the correct project ID and that you have permission to view applications on the project. Nothing changed on the permissions, everything was working fine. Even if I give that IAM user ownership rights it still does not work anymore. I can not even solve it by recreating the user, but must either create a completely new/different user-name (see: https://opcode12311.blogspot.co.za/2011/09/ssl-app-engine-deploy-permissions-error.html) or create a new project. Question: why do IAM users lose permissions and what is the recommended way to automate deploys via jenkins? I do the following on my jenkins nodes: > gcloud config configurations create {{ item.name }} --quiet > gcloud auth activate-service-account {{ item.account }} --key-file={{ jenkins_home }}/.gcloud-service-accounts/{{ item.name }}.json --configuration={{ item.name }} --quiet > gcloud config set core/project {{ item.name }} --configuration={{ item.name }} --quiet -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/503956ab-51ee-462a-8e60-cd855970dae3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
