Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for cloudfront_distribution resource #17637

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions website/docs/r/cloudfront_distribution.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,11 @@ of several sub-resources - these resources are laid out below.

* `field_level_encryption_id` (Optional) - Field level encryption configuration ID

* `forwarded_values` (Required) - The [forwarded values configuration](#forwarded-values-arguments) that specifies how CloudFront
* `forwarded_values` (Optional) - The [forwarded values configuration](#forwarded-values-arguments) that specifies how CloudFront
handles query strings, cookies and headers (maximum one).

* `lambda_function_association` (Optional) - A config block that triggers a lambda function with
specific actions. Defined below, maximum 4.
* `lambda_function_association` (Optional) - A [config block](#lambda-function-association) that triggers a lambda
function with specific actions (maximum 4).

* `max_ttl` (Optional) - The maximum amount of time (in seconds) that an
object is in a CloudFront cache before CloudFront forwards another request
Expand All @@ -300,6 +300,9 @@ of several sub-resources - these resources are laid out below.
stay in CloudFront caches before CloudFront queries your origin to see
whether the object has been updated. Defaults to 0 seconds.

* `origin_request_policy_id` (Optional) - The unique identifier of the origin request policy
that is attached to the behavior.

* `path_pattern` (Required) - The pattern (for example, `images/*.jpg)` that
specifies which requests you want this cache behavior to apply to.

Expand Down