as the title said, i'm trying to run dataflow with scheduler based on tutorial on this link https://cloud.google.com/community/tutorials/schedule-dataflow-jobs-with-cloud-scheduler
i think i already followed the exact step on the tutorial (just different region config) and the scheduler is created but when i'm trying to run the scheduler, i'm getting this error
{ "status": "PERMISSION_DENIED", "jobName": "projects/my-project-id/locations/asia-south1/jobs/scheduler-demo", "url": "https://dataflow.googleapis.com/somerandomidthatidontknow/projects/my-project-id/locations/asia-south1/templates:launch?gcsPath=gs://my-testing-bucket/templates/dataflow-demo-template", "@type": "type.googleapis.com/google.cloud.scheduler.logging.AttemptFinished", "targetType": "HTTP" }
is it because of the region? because the tutorial said
Cloud Scheduler jobs must be created in the same region as App engine.
my app-engine is on asia-south1
my scheduler is on IST timezone
and my bucket is on US multiple regions in united states
service account: [email protected]
- Dataflow Admin (default role created when running terraform from tutorial)
- Dataflow Worker(trying to fix this issue by adding this, but not working)
- Owner(trying to fix this issue by adding this, but not working)