My GCP Dataflow job immediately fails with this error message:
Workflow failed. Causes:
Subscription 'projects/project/subscriptions/subscription' not found.
Please supply an existing subscription.
The subscription does exist, I was able to click on it in the dataflow UI. I've been able to run this job previously, and it worked. It's only when I try redeploying it that it gives the error.
EDIT: this is how I am getting the pubsub subscription
pipeline
.apply(PubsubIO.readProtos(...)
.fromSubscription(options.getSubscription()))