require aws when needed