https://prefect.io logo
Title
m

Miguel Moncada

04/05/2023, 5:48 PM
Hi! I've been working in local for a little while, I had earlier been able to deploy and run flows using Google Cloud Run, but I'm recently encountering the following error:
Submission failed. AttributeError: 'Resource' object has no attribute 'jobs'
I'm using
prefect_gcp
version
0.3.0
in my agent, and targetting Prefect Cloud. Has anyone seen similar behavior?
image.png
No job is created in Cloud Run
b

Bianca Hoch

04/06/2023, 5:54 PM
Hey Miguel! For what it's worth, I think that perfect-gcp is now at
v0.4.0
. I'd recommend installing the new version and seeing if the error persists.
Just to clarify, you're following the steps from our collection docs to test the deployment, correct?
m

Miguel Moncada

04/06/2023, 7:06 PM
Hi @Bianca Hoch it seemed to be a googleapipython library issue, not sure if the minimum version required by prefect-gcp is too low
Upgrading it to the latest one fixed it