Skip to content

Commit

Permalink
add documentation for the include_body option
Browse files Browse the repository at this point in the history
  • Loading branch information
parabolic committed Aug 27, 2018
1 parent 650f79b commit 855a1aa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docs/r/cloudfront_distribution.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,9 @@ resource "aws_cloudfront_distribution" "example" {
# ... other configuration ...
lambda_function_association {
event_type = "viewer-request"
lambda_arn = "${aws_lambda_function.example.qualified_arn}"
event_type = "viewer-request"
lambda_arn = "${aws_lambda_function.example.qualified_arn}"
include_body = false
}
}
}
Expand All @@ -305,6 +306,7 @@ resource "aws_cloudfront_distribution" "example" {
Valid values: `viewer-request`, `origin-request`, `viewer-response`,
`origin-response`
* `lambda_arn` (Required) - ARN of the Lambda function.
* `include_body` (Optional) - When set to true it exposes the request body to the lambda function. Defaults to false. Valid values: `true`, `false`.

##### Cookies Arguments

Expand Down

0 comments on commit 855a1aa

Please sign in to comment.