Skip to content

Commit

Permalink
docs/resource/aws_api_gateway_gateway_response: Fix invalid JSON in r…
Browse files Browse the repository at this point in the history
…esponse template (#12820)

Strings in JSON must be enclosed in double quotes. Update the example
response template to be valid JSON.
  • Loading branch information
msmolens authored Jan 13, 2021
1 parent 91c76df commit 9dd1e48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/r/api_gateway_gateway_response.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ resource "aws_api_gateway_gateway_response" "test" {
response_type = "UNAUTHORIZED"
response_templates = {
"application/json" = "{'message':$context.error.messageString}"
"application/json" = "{\"message\":$context.error.messageString}"
}
response_parameters = {
Expand Down

0 comments on commit 9dd1e48

Please sign in to comment.