A sample of a Terraform configuration file highlighting the misconfiguration of integration API Gateway with Lambda functions.
-
Start LocalStack:
docker compose up
-
Run:
tflocal init
tflocal plan
tflocal apply auto-approve
- Run:
./invoke.sh
Change integration_http_method
to POST
under the get_product_integration
resource.