Skip to content

Commit f87d60b

Browse files
docs(event_handler): add Terraform payload info for API Gateway HTTP API (#5351)
Updating docs with terraform information
1 parent 28f29c8 commit f87d60b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: docs/core/event_handler/api_gateway.md

+3
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ When using Amazon API Gateway HTTP API to front your Lambda functions, you can u
131131
???+ note
132132
Using HTTP API v1 payload? Use `APIGatewayRestResolver` instead. `APIGatewayHttpResolver` defaults to v2 payload.
133133

134+
<!-- markdownlint-disable-next-line MD013 -->
135+
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.
136+
134137
```python hl_lines="5 11" title="Using HTTP API resolver"
135138
--8<-- "examples/event_handler_rest/src/getting_started_http_api_resolver.py"
136139
```

0 commit comments

Comments
 (0)