From ee3f8ce63f450b6584d7802189357cdde0be818b Mon Sep 17 00:00:00 2001 From: Leandro Damascena Date: Tue, 8 Oct 2024 21:34:54 +0100 Subject: [PATCH] Updating docs with terraform information --- docs/core/event_handler/api_gateway.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/core/event_handler/api_gateway.md b/docs/core/event_handler/api_gateway.md index ad509f950e1..cba8addfdd0 100644 --- a/docs/core/event_handler/api_gateway.md +++ b/docs/core/event_handler/api_gateway.md @@ -131,6 +131,9 @@ When using Amazon API Gateway HTTP API to front your Lambda functions, you can u ???+ note Using HTTP API v1 payload? Use `APIGatewayRestResolver` instead. `APIGatewayHttpResolver` defaults to v2 payload. + + If you're using Terraform to deploy a HTTP API, note that it defaults the [payload_format_version](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_integration#payload_format_version){target="_blank" rel="nofollow"} value to 1.0 if not specified. + ```python hl_lines="5 11" title="Using HTTP API resolver" --8<-- "examples/event_handler_rest/src/getting_started_http_api_resolver.py" ```