Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
c
Cab Maddux
02/20/2020, 1:16 PM
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
02/20/2020, 2:35 PM
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
#prefect-community
Join Slack