Using the aws-amplify cli v4.17.1, I don't seem to be able to push my changes through using the 'amplify push' command when a function is included in the amplify project.
E.g. I have created a simple hello world function using the amplify add function command. Then built the function using the amplify build function command.
Finally, when running amplify push - i receive the following error.
× An error occurred when pushing the resources to the cloud
Only one CloudFormation template is allowed in the resource directory
An error occurred during the push operation: Only one CloudFormation template is allowed in the resource directory
Has anyone else encountered this previously?
The issue was resolved by upgrading to amplify CLI version 4.17.2