I have been desperately trying to create an AWS REST API Gateway using terraform with a POST method to invoke a Lambda function, something I have achieved to create from the console. I have tried several different configurations but nothing seems to work. It should not be very complicated, it is just a link that will pass some data and trigger a lambda function. I can provide my code but I have tried so many different things and I honestly do not know what is more correct… Let’s say I followed the steps described here: Terraform Registry
I would appreciate some help so much! Thank you in advance.