https://prefect.io logo
j

Jason

04/20/2022, 8:10 PM
I'm getting a weird behavior - I can correctly fetch the secrets when running a flow locally - but when it's built on Github Actions - after a step correctly logs into prefect with auth, I get
ValueError: Local Secret "AWS_ACCOUNT_ID" was not found.
k

Kevin Kho

04/20/2022, 8:12 PM
You need the env var to pull the Secret from Cloud otherwise it defaults to local.
Copy code
PREFECT__CLOUD__USE_LOCAL_SECRETS=false
j

Jason

04/20/2022, 8:17 PM
Ah, gotcha
6 Views