seems to not be inferring my GCP credentials? Not sure how to pass it, either (I can grab it as a
PrefectSecret
fine, and can pass it directly to GCP functions)
k
Kevin Kho
07/28/2021, 3:13 AM
Hey @matta, how did you store it?
GCP_CREDENTIALS
? What is the error you get? Maybe your Flow is looking for local secrets?
m
matta
07/28/2021, 3:19 AM
Yeah, I grab it from
GCP_CREDENTIALS
matta
07/28/2021, 3:21 AM
Oh, hrm, maybe I need to use the
GCPSecret
task instead of
PrefectSecret("GCP_CREDENTIALS")
?
k
Kevin Kho
07/28/2021, 3:23 AM
Try setting`"PREFECT__CLOUD__USE_LOCAL_SECRETS": "false"` ? I don’t think so.
m
matta
07/28/2021, 3:27 AM
No luck. Is there an example lying around of how it's supposed to be called?
k
Kevin Kho
07/28/2021, 3:38 AM
Just this and this , but no complete example. I think it might be meant to be a local secret for those tasks, but not sure. Could you try it as a local secret on the agent?
Set
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.