I am attempting to deploy a cron.yaml
file with gcloud app deploy
with a service account that has the "GAE admin" role on my project.
It is apparently not sufficient to update my cron config. It seems I need to give the service account the "project editor" role to continue.
The error I got was:
ERROR: (gcloud.app.deploy) Server responded with code [403]:
Forbidden Unexpected HTTP status 403.
You do not have permission to modify this app
Is there a way to update cron.yaml
without requiring the "project editor" role.
A cron.yaml definition file is a type of deployable and therefore can be deployed to App Engine in the same manner as a service with gcloud. To deploy a cron.yaml , simply run: gcloud app deploy cron.yaml.
The App Engine Cron Service allows you to configure regularly scheduled tasks that operate at defined times or regular intervals.
As documented here, to deploy cron.yaml
, you need the "Cloud Scheduler > Cloud Scheduler Admin role".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With