https://prefect.io logo
Title
r

Rudy García

04/06/2023, 9:45 PM
Hello everyone!, I would like to ask for your assistance regarding an issue I've encountered with the
prefect-gcp
library when configuring the
vpc-connector
. It appears that the library is not properly setting up the call to GCP's REST API. Here's the error message I received:
HttpError 400 when requesting <https://us-west2-run.googleapis.com/apis/run.googleapis.com/v1/namespaces/ba-basic/jobs?alt=json> returned "metadata.annotations[<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>]: Annotation '<http://run.googleapis.com/vpc-access-connector|run.googleapis.com/vpc-access-connector>' is not supported on resources of kind 'Job'. Supported kinds are: Revision, Execution"
Could anyone please provide some guidance on how to resolve this issue, or point me in the right direction? Any help would be greatly appreciated!
💡 1
o

Owen McMahon

04/07/2023, 8:58 PM
I ran across this problem as well. Unfortunately, haven't found a solution yet 😞
r

Rudy García

04/10/2023, 3:47 PM
I am trying to find a solution, but in any case soon I will open an issue in the official repo + proposed solution if i found it
@Owen McMahon Hey we open an issue and a PR with the solution in the prefect-gcp repo here: https://github.com/PrefectHQ/prefect-gcp/issues/169, waiting for @Prefect to review it 🙂
🙌 1