This helps creating an AWS API GW with a POST
method on the root resource (i.e /
) targetting a given Lambda.
The current Terraform documentation is exposing a Mock integration. Thus, a few options are missing when wanting to expose a Lambda integration instead.
There are a few things to know:
First of all, you will need to add the integration_http_method
alongside the http_method
, as in: