I need to grant a GCP project user permissions so he is able to run cron tasks from the app engine console. I've been looking around and could not find suitable permissions for that. Any tip??
2 Answers
I believe that the permission required to do this is cloudscheduler.jobs.run
, which is provided by the Owner
, Editor
, roles/cloudscheduler.jobRunner
, or roles/cloudscheduler.admin
roles.
According to the official documentation, your account requires one of the following IAM roles: Owner or Editor.
-
The document is wrong. Owner and Editor are legacy that existed before IAM. Both Owner and Editor will grant the required permission, but this is a huge overkill. The necessary App Engine role is
roles/appengine.appAdmin
Nov 1, 2019 at 5:06 -
-
John, did not work... adding this role does not enable the user to run the cron jobs! Nov 27, 2019 at 17:58