I am following Google Cloud Workflows guide here
At the third step where you create and deploy the workflow...
I tried the following command:
export MY_WORKFLOW=myEventWorkflow
gcloud workflows deploy ${MY_WORKFLOW} --source=myEventWorkflow.yaml
and I received the following error:
ERROR: (gcloud.workflows.deploy) FAILED_PRECONDITION: Workflows service agent doesn't have permission to access the service account to be used as workflow identity. Please check your IAM settings.
How can I solve this error? I am not quite sure what a workflow service agent is.
As John Hanley and Guillaume Blaquiere mentioned
As per this official doc