Anybody encountering the same error as I am?
Serverless Error ---------------------------------------
An error occurred while provisioning your cloudformation:
The following resource(s) failed to create: [PreflightMethodApigEvent2]
The problem is that, with the other end-points, on the same serverless.yml doc produces no error upon deployment. It only happens when I have all three end-points set CORS to TRUE.
functions:
putEmployee:
handler: handler.putEmployee
events:
- http:
path: employee/putEmployee
method: post
cors: true