Permission denied when deploying queue.yaml

141 views
Skip to first unread message

Andrew Buck

unread,
Jul 9, 2019, 12:39:32 AM7/9/19
to Google App Engine
When I attempt to use a service account to deploy an updated queue.yaml, I get the following error:

ERROR: (gcloud.app.deploy) PERMISSION_DENIED: The caller does not have permission
> Task :appengineDeployQueue FAILED

What permissions does the service account need for this operation? I already gave it both Cloud Tasks Admin and Cloud Tasks Queue Admin and it still get the error.

Julie (cloud platform support)

unread,
Jul 9, 2019, 11:26:38 AM7/9/19
to Google App Engine
It seems from this document that what you have granted permissions for Cloud Tasks for should be sufficient as cloudtasks.queues.update is needed to modify an existing task. 

It does seem that that appengineDeployQueue is App Engine-specific Gradle task which likely means it requires App Engine roles and perhaps additional actions to use Gradle plugin if you have not done so yet. 

This will likely require investigation into your permissions so I suggest opening an issue tracker if the above suggestions do not resolve the issue. Please note I provided all documents in App Engine Standard format but Flex documents should exist. 

Andrew Buck

unread,
Jul 9, 2019, 11:56:05 AM7/9/19
to Google App Engine
Thanks, I filed an issue tracker: https://issuetracker.google.com/issues/137078982
Reply all
Reply to author
Forward
0 new messages