Restart the awslogs container after refreshing shared temporary credentials
Docker awslogs reads shared-file credentials when the container starts. A later file refresh does not automatically update that running container's credentials.
Read the guide