I am trying to create an HTTP API with API Gateway and Lambda using aws_apigatewayv2_*
resources. The API currently has a GET method. Now although the resources get created, the API returns an HTTP 500. The weird bit is that if I Edit and Save the Response Parameters for the integration resource on the AWS Console, the issue goes away.
I am not able to pin point what is the issue, though it appears to be something with the integration.
Has anyone faced this before, or has any insight on the cause of this issue?