0
votes

I have added, pushed amplify auth in react app, it worked fine. After this I added function and trying to push it, its giving me error:-

Only one CloudFormation template is allowed in the resource directory

can you please help me resolving it.

1
I'm getting the same thing when trying to create a new function, was working fine before. Did you find a way to resolve this? - Deiv

1 Answers

0
votes

This issue has been fixed in amplify/cli version 4.17.2. Simply update to that version and the error will go away.