So amplify CLI doesn't really manage functions. We used amplify to be able to manage functions but it had an unfortunate library error and had to be done manually