diff --git a/website/source/docs/providers/aws/r/api_gateway_integration.html.markdown b/website/source/docs/providers/aws/r/api_gateway_integration.html.markdown index d2d5ac38f3..2158106d1a 100644 --- a/website/source/docs/providers/aws/r/api_gateway_integration.html.markdown +++ b/website/source/docs/providers/aws/r/api_gateway_integration.html.markdown @@ -36,6 +36,15 @@ resource "aws_api_gateway_integration" "MyDemoIntegration" { resource_id = "${aws_api_gateway_resource.MyDemoResource.id}" http_method = "${aws_api_gateway_method.MyDemoMethod.http_method}" type = "MOCK" + + # Transforms the incoming XML request to JSON + request_templates { + "application/xml" = < + + $inputRoot.body + +EOF + } } ```