Thread
#prefect-community
    c

    Cab Maddux

    2 years ago
    I'm having trouble with upload when running via Kubernetes agent.executor and using the cloud secret, but using the same credentials via GOOGLE_APPLICATION_CREDENTIALS env variable when running locally works fine
    j

    josh

    2 years ago
    After inspecting it appears as though the credentials are being passed through as expected https://github.com/PrefectHQ/prefect/blob/master/src/prefect/utilities/gcp.py#L23 🤔 Here’s something we could try, take that value you get from
    my_secret
    and pass it into a
    GCSUpload
    task locally then call that task’s
    .run()
    to see if it works fine there