Noam Cohen
10/22/2022, 11:17 AM.prefectignore
when I upload to my storage block and I am using a local agent. I am pretty sure that in the past this worked, but anyway -
How can I set the environmental variables of my execution from an .env
file?yaml
looks like
name: <FLOW-NAME>
description: null
version: c0a8d760333d670506d2fe9d4e56bfab
# The work queue that will handle this deployment's runs
work_queue_name: <SOME-LOCAL-AGENT-NAME>
tags: []
parameters: {}
schedule: null
infra_overrides: {}
infrastructure:
type: process
env: {}
labels: {}
name: null
command: null
stream_output: true
block_type_slug: process
_block_type_slug: process
###
### DO NOT EDIT BELOW THIS LINE
###
flow_name: blah
manifest_path: null
storage:
bucket_path: <BUCKET-PATH>
service_account_info: '*******'
project: noamhome
_block_document_id: 08c280eb-e0fa-4208-8bea-bbb25f3e9c2f
_block_document_name: <BLOCK-NAME>
_is_anonymous: false
block_type_slug: gcs
_block_type_slug: gcs
Anna Geller
Noam Cohen
10/22/2022, 12:45 PMAnna Geller
.env
file, you can instead leverage the AwsCredentials
block available in the prefect-aws collection