0

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.

DHRUV GUPTA
  • 2,000
  • 1
  • 15
  • 24
  • 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 Mar 31 '20 at 19:32

1 Answers1

0

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

Deiv
  • 3,000
  • 2
  • 18
  • 30