After revising/updating the app.js of my Lambda function created as a result of amplify add api (REST API) I begin to encounter:
⚠️ NDCProductCodeAPI has more than one CloudFormation definitions in the resource folder which isn't permitted.
⚠️ thioscanner7b83a3c5 has more than one CloudFormation definitions in the resource folder which isn't permitted.
⚠️ amplifyDatasource has more than one CloudFormation definitions in the resource folder which isn't permitted.
⚠️ NDCProductCodeAPI has more than one CloudFormation definitions in the resource folder which isn't permitted.
⚠️ thioscanner7b83a3c5 has more than one CloudFormation definitions in the resource folder which isn't permitted.
....I attempt a amplify pull -- and then all is blown away in the function dir.
After revising/updating the app.js of my Lambda function created as a result of amplify add api (REST API) I begin to encounter:
⚠️ NDCProductCodeAPI has more than one CloudFormation definitions in the resource folder which isn't permitted. ⚠️ thioscanner7b83a3c5 has more than one CloudFormation definitions in the resource folder which isn't permitted. ⚠️ amplifyDatasource has more than one CloudFormation definitions in the resource folder which isn't permitted. ⚠️ NDCProductCodeAPI has more than one CloudFormation definitions in the resource folder which isn't permitted. ⚠️ thioscanner7b83a3c5 has more than one CloudFormation definitions in the resource folder which isn't permitted.
....I attempt a amplify pull -- and then all is blown away in the function dir.
Any idea?