Peter Park System interview question

Implement terraform file to trigger a lambda with a api post request