You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ module "cdn" {
79
79
80
80
## Examples
81
81
82
-
-[Complete](https://github.com/terraform-aws-modules/terraform-aws-cloudfront/tree/master/examples/complete) - Complete example which creates AWS CloudFront distribution and integrates it with other [terraform-aws-modules](https://github.com/terraform-aws-modules) to create additional resources: S3 buckets, Lambda Functions, CloudFront Functions, ACM Certificate, Route53 Records.
82
+
-[Complete](https://github.com/terraform-aws-modules/terraform-aws-cloudfront/tree/master/examples/complete) - Complete example which creates AWS CloudFront distribution and integrates it with other [terraform-aws-modules](https://github.com/terraform-aws-modules) to create additional resources: S3 buckets, Lambda Functions, CloudFront Functions, VPC Origins, ACM Certificate, Route53 Records.
|[aws_cloudfront_cache_policy.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudfront_cache_policy)| data source |
131
132
|[aws_cloudfront_origin_request_policy.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudfront_origin_request_policy)| data source |
132
133
|[aws_cloudfront_response_headers_policy.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudfront_response_headers_policy)| data source |
@@ -142,6 +143,7 @@ No modules.
142
143
| <aname="input_create_monitoring_subscription"></a> [create\_monitoring\_subscription](#input\_create\_monitoring\_subscription)| If enabled, the resource for monitoring subscription will created. |`bool`|`false`| no |
143
144
| <aname="input_create_origin_access_control"></a> [create\_origin\_access\_control](#input\_create\_origin\_access\_control)| Controls if CloudFront origin access control should be created |`bool`|`false`| no |
144
145
| <aname="input_create_origin_access_identity"></a> [create\_origin\_access\_identity](#input\_create\_origin\_access\_identity)| Controls if CloudFront origin access identity should be created |`bool`|`false`| no |
146
+
| <aname="input_create_vpc_origin"></a> [create\_vpc\_origin](#input\_create\_vpc\_origin)| If enabled, the resource for VPC origin will be created. |`bool`|`false`| no |
145
147
| <aname="input_custom_error_response"></a> [custom\_error\_response](#input\_custom\_error\_response)| One or more custom error response elements |`any`|`{}`| no |
146
148
| <aname="input_default_cache_behavior"></a> [default\_cache\_behavior](#input\_default\_cache\_behavior)| The default cache behavior for this distribution |`any`|`null`| no |
147
149
| <aname="input_default_root_object"></a> [default\_root\_object](#input\_default\_root\_object)| The object that you want CloudFront to return (for example, index.html) when an end user requests the root URL. |`string`|`null`| no |
@@ -161,6 +163,7 @@ No modules.
161
163
| <aname="input_staging"></a> [staging](#input\_staging)| Whether the distribution is a staging distribution. |`bool`|`false`| no |
162
164
| <aname="input_tags"></a> [tags](#input\_tags)| A map of tags to assign to the resource. |`map(string)`|`null`| no |
163
165
| <aname="input_viewer_certificate"></a> [viewer\_certificate](#input\_viewer\_certificate)| The SSL configuration for this distribution |`any`| <pre>{<br/> "cloudfront_default_certificate": true,<br/> "minimum_protocol_version": "TLSv1"<br/>}</pre> | no |
| <aname="input_wait_for_deployment"></a> [wait\_for\_deployment](#input\_wait\_for\_deployment)| If enabled, the resource will wait for the distribution status to change from InProgress to Deployed. Setting this to false will skip the process. |`bool`|`true`| no |
165
168
| <aname="input_web_acl_id"></a> [web\_acl\_id](#input\_web\_acl\_id)| If you're using AWS WAF to filter CloudFront requests, the Id of the AWS WAF web ACL that is associated with the distribution. The WAF Web ACL must exist in the WAF Global (CloudFront) region and the credentials configuring this argument must have waf:GetWebACL permissions assigned. If using WAFv2, provide the ARN of the web ACL. |`string`|`null`| no |
166
169
@@ -185,6 +188,7 @@ No modules.
185
188
| <aname="output_cloudfront_origin_access_identities"></a> [cloudfront\_origin\_access\_identities](#output\_cloudfront\_origin\_access\_identities)| The origin access identities created |
186
189
| <aname="output_cloudfront_origin_access_identity_iam_arns"></a> [cloudfront\_origin\_access\_identity\_iam\_arns](#output\_cloudfront\_origin\_access\_identity\_iam\_arns)| The IAM arns of the origin access identities created |
187
190
| <aname="output_cloudfront_origin_access_identity_ids"></a> [cloudfront\_origin\_access\_identity\_ids](#output\_cloudfront\_origin\_access\_identity\_ids)| The IDS of the origin access identities created |
191
+
| <aname="output_cloudfront_vpc_origin_ids"></a> [cloudfront\_vpc\_origin\_ids](#output\_cloudfront\_vpc\_origin\_ids)| The IDS of the VPC origin created |
|[aws_ami.al2023](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami)| data source |
61
64
|[aws_canonical_user_id.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/canonical_user_id)| data source |
62
65
|[aws_cloudfront_log_delivery_canonical_user_id.cloudfront](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/cloudfront_log_delivery_canonical_user_id)| data source |
63
66
|[aws_iam_policy_document.s3_policy](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/iam_policy_document)| data source |
@@ -84,4 +87,5 @@ No inputs.
84
87
| <aname="output_cloudfront_origin_access_identities"></a> [cloudfront\_origin\_access\_identities](#output\_cloudfront\_origin\_access\_identities)| The origin access identities created |
85
88
| <aname="output_cloudfront_origin_access_identity_iam_arns"></a> [cloudfront\_origin\_access\_identity\_iam\_arns](#output\_cloudfront\_origin\_access\_identity\_iam\_arns)| The IAM arns of the origin access identities created |
86
89
| <aname="output_cloudfront_origin_access_identity_ids"></a> [cloudfront\_origin\_access\_identity\_ids](#output\_cloudfront\_origin\_access\_identity\_ids)| The IDS of the origin access identities created |
90
+
| <aname="output_cloudfront_vpc_origin_ids"></a> [cloudfront\_vpc\_origin\_ids](#output\_cloudfront\_vpc\_origin\_ids)| The IDS of the VPC origin created |
0 commit comments