Hi, running this in container (AWS ECS) failed but...
# prefect-community
p
Hi, running this in container (AWS ECS) failed but works running from desktop computer
k
You might want to delete the pic since it has your key. Do you have a
config.toml
in the image you used for the container?
p
No I don’t
should I copy config.toml to image? Or copy .prefect folder to image
k
It seems like you do have and it has an API key but you shouldn’t have it?
There are two API keys going on it seems
p
yes there are 2 api keys, is it causing issue?should I be removing 1 of them?
k
I think so yep
p
Just FYI, the reason for the error message is because api key is set at environment variable PREFECT__CLOUD__API_KEY
k
ahhh i see. Thanks for letting me know