https://prefect.io logo
#prefect-server
Title
# prefect-server
c

Carlo

05/14/2021, 7:11 PM
Hi I'm on prefect 0.13.15, Trying to migrate to
EcsAgent
from
FargateAgent
I'm specifying the
task_definition_path
as an
<s3://url>
. It's returning a 404 error. Using the same credentials, I'm able to write my own boto3 code to access the file successfully. Any ideas?
k

Kevin Kho

05/14/2021, 7:13 PM
Hi @Carlo, are you using the CLI or
agent.start()
script? What RunConfig are you using?
Could you show the error message? No ideas yet, just trying to get more info
c

Carlo

05/14/2021, 7:17 PM
agent.start()
what exactly do you mean by the RunConfig?
Thanks for your help
k

Kevin Kho

05/14/2021, 7:18 PM
Oh are you on Environments?
I think RunConfig is 0.14.0. Ignore that.
Are you using the FargateTaskEnvironment?
c

Carlo

05/14/2021, 7:22 PM
then calling
start()
on that
the stuff that's colored out are just yaml configs
k

Kevin Kho

05/14/2021, 7:30 PM
Yeah seems good. What error do you get?
c

Carlo

05/14/2021, 7:30 PM
botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found
k

Kevin Kho

05/14/2021, 7:41 PM
If you look at that file, there was a fix last December
In 0.14.1 unfortunately
c

Carlo

05/14/2021, 7:42 PM
np, I think I will down it to tmp with my boto client and pass that path
for now
👍 1
thanks