Arsenii
06/01/2020, 11:08 AM$(aws ecr get-login --region redacted-region --registry-ids 1234567890 --no-include-email)
in order to generate an ECR docker authorization token, and login -- this is standard practice. However! This token is only valid for 12 hours, so the command above is re-run automatically.
Now the weird thing is, Prefect Agent doesn't actually "refresh" the auth token and gives me an "Your authorization token has expired" error, even though the command above was run. The only thing that helps is re-starting the Agent, at which point it starts using the new token again.
This seems to be some king of a bug, since the configuration of the docker server should not concern the Agent -- or am I missing out on some configuration?
Thanksjosh
06/01/2020, 2:40 PM