https://prefect.io logo
Title
s

Skip Breidbach

07/30/2020, 10:34 PM
Small oddity here. I've been working with a Docker agent and "Non-Docker Storage for Containerized Environments". I was having some issues getting the container to be able to pull from S3, but added an env var to my container and all was well. Then I read further and saw the "Authentication for using Cloud Storage with Containerized Environments" section and thought I'd try that, essentially adding
secrets
to the flow storage. But when I do, I get a surprising (to me) error when the flow is executed:
Failed to load and execute Flow's environment: HTTPError('400 Client Error: Bad Request for url: http://host.docker.internal:4200/graphql')
It looks to me like the container thinks it's using the cloud backend or something? Any ideas?
c

Chris White

07/30/2020, 10:35 PM
Hi Skip - Prefect Secrets (which is what the
secrets
kwarg on Storage utilizes) is only available in Prefect Cloud
s

Skip Breidbach

07/30/2020, 10:35 PM
Well there you go 😄
Thanks & sorry!
c

Chris White

07/30/2020, 10:36 PM
no worries!