Brandon T. Kowalski
08/26/2022, 9:19 PM20:53:32.166 | INFO | prefect.agent - Submitting flow run 'adf8ae6e-675d-40dd-8a32-078aecbc248b'
20:53:32.359 | ERROR | prefect.agent - Failed to submit flow run 'adf8ae6e-675d-40dd-8a32-078aecbc248b' to infrastructure.
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/prefect/agent.py", line 200, in submit_run
await self.task_group.start(submit_flow_run, flow_run, infrastructure)
File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 807, in start
return await future
File "/usr/local/lib/python3.9/site-packages/prefect/infrastructure/submission.py", line 47, in submit_flow_run
infrastructure = _prepare_infrastructure(flow_run, infrastructure)
File "/usr/local/lib/python3.9/site-packages/prefect/infrastructure/submission.py", line 35, in _prepare_infrastructure
"env": {**base_flow_run_environment(flow_run), **infrastructure.env},
AttributeError: 'S3' object has no attribute 'env'
Any pointers?Nate
08/26/2022, 9:32 PM-ib
(infra block) flag
do you mind sharing your full prefect deployment build
command?Brandon T. Kowalski
08/27/2022, 12:40 AM