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
+2-1
Original file line number
Diff line number
Diff line change
@@ -498,7 +498,7 @@ Available targets:
498
498
| <aname="input_cloudfront_access_log_include_cookies"></a> [cloudfront\_access\_log\_include\_cookies](#input\_cloudfront\_access\_log\_include\_cookies)| Set true to include cookies in Cloudfront Access Logs |`bool`|`false`| no |
499
499
| <aname="input_cloudfront_access_log_prefix"></a> [cloudfront\_access\_log\_prefix](#input\_cloudfront\_access\_log\_prefix)| Prefix to use for Cloudfront Access Log object keys. Defaults to no prefix. |`string`|`""`| no |
500
500
| <aname="input_cloudfront_access_logging_enabled"></a> [cloudfront\_access\_logging\_enabled](#input\_cloudfront\_access\_logging\_enabled)| Set true to enable delivery of Cloudfront Access Logs to an S3 bucket |`bool`|`true`| no |
501
-
| <aname="input_cloudfront_origin_access_identity_iam_arn"></a> [cloudfront\_origin\_access\_identity\_iam\_arn](#input\_cloudfront\_origin\_access\_identity\_iam\_arn)| Existing cloudfront origin access identity iam arn that is supplied in the s3 bucket policy |`string`|`""`| no |
501
+
| <aname="input_cloudfront_origin_access_identity_iam_arn"></a> [cloudfront\_origin\_access\_identity\_iam\_arn](#input\_cloudfront\_origin\_access\_identity\_iam\_arn)| Existing cloudfront origin access identity iam arn that is supplied in the s3 bucket policy. If you set this, disable `create_cloudfront_origin_access_identity`|`string`|`""`| no |
502
502
| <aname="input_cloudfront_origin_access_identity_path"></a> [cloudfront\_origin\_access\_identity\_path](#input\_cloudfront\_origin\_access\_identity\_path)| Existing cloudfront origin access identity path used in the cloudfront distribution's s3\_origin\_config content |`string`|`""`| no |
503
503
| <aname="input_comment"></a> [comment](#input\_comment)| Comment for the origin access identity |`string`|`"Managed by Terraform"`| no |
504
504
| <aname="input_compress"></a> [compress](#input\_compress)| Compress content for web requests that include Accept-Encoding: gzip in the request header |`bool`|`true`| no |
@@ -508,6 +508,7 @@ Available targets:
508
508
| <aname="input_cors_allowed_origins"></a> [cors\_allowed\_origins](#input\_cors\_allowed\_origins)| List of allowed origins (e.g. example.com, test.com) for S3 bucket |`list(string)`|`[]`| no |
509
509
| <aname="input_cors_expose_headers"></a> [cors\_expose\_headers](#input\_cors\_expose\_headers)| List of expose header in the response for S3 bucket |`list(string)`| <pre>[<br> "ETag"<br>]</pre> | no |
510
510
| <aname="input_cors_max_age_seconds"></a> [cors\_max\_age\_seconds](#input\_cors\_max\_age\_seconds)| Time in seconds that browser can cache the response for S3 bucket |`number`|`3600`| no |
511
+
| <aname="input_create_cloudfront_origin_access_identity"></a> [create\_cloudfront\_origin\_access\_identity](#input\_create\_cloudfront\_origin\_access\_identity)| Set to `true` to create a CloudFront Origin Access Identity. You should disable this if you set `cloudfront_origin_access_identity_iam_arn`|`bool`|`true`| no |
511
512
| <aname="input_custom_error_response"></a> [custom\_error\_response](#input\_custom\_error\_response)| List of one or more custom error response element maps | <pre>list(object({<br> error_caching_min_ttl = string<br> error_code = string<br> response_code = string<br> response_page_path = string<br> }))</pre> |`[]`| no |
512
513
| <aname="input_custom_origin_headers"></a> [custom\_origin\_headers](#input\_custom\_origin\_headers)| A list of origin header parameters that will be sent to origin |`list(object({ name = string, value = string }))`|`[]`| no |
513
514
| <aname="input_custom_origins"></a> [custom\_origins](#input\_custom\_origins)| A list of additional custom website [origins](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#origin-arguments) for this distribution. | <pre>list(object({<br> domain_name = string<br> origin_id = string<br> origin_path = string<br> custom_headers = list(object({<br> name = string<br> value = string<br> }))<br> custom_origin_config = object({<br> http_port = number<br> https_port = number<br> origin_protocol_policy = string<br> origin_ssl_protocols = list(string)<br> origin_keepalive_timeout = number<br> origin_read_timeout = number<br> })<br> }))</pre> |`[]`| no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@
66
66
| <aname="input_cloudfront_access_log_include_cookies"></a> [cloudfront\_access\_log\_include\_cookies](#input\_cloudfront\_access\_log\_include\_cookies)| Set true to include cookies in Cloudfront Access Logs |`bool`|`false`| no |
67
67
| <aname="input_cloudfront_access_log_prefix"></a> [cloudfront\_access\_log\_prefix](#input\_cloudfront\_access\_log\_prefix)| Prefix to use for Cloudfront Access Log object keys. Defaults to no prefix. |`string`|`""`| no |
68
68
| <aname="input_cloudfront_access_logging_enabled"></a> [cloudfront\_access\_logging\_enabled](#input\_cloudfront\_access\_logging\_enabled)| Set true to enable delivery of Cloudfront Access Logs to an S3 bucket |`bool`|`true`| no |
69
-
| <aname="input_cloudfront_origin_access_identity_iam_arn"></a> [cloudfront\_origin\_access\_identity\_iam\_arn](#input\_cloudfront\_origin\_access\_identity\_iam\_arn)| Existing cloudfront origin access identity iam arn that is supplied in the s3 bucket policy |`string`|`""`| no |
69
+
| <aname="input_cloudfront_origin_access_identity_iam_arn"></a> [cloudfront\_origin\_access\_identity\_iam\_arn](#input\_cloudfront\_origin\_access\_identity\_iam\_arn)| Existing cloudfront origin access identity iam arn that is supplied in the s3 bucket policy. If you set this, disable `create_cloudfront_origin_access_identity`|`string`|`""`| no |
70
70
| <aname="input_cloudfront_origin_access_identity_path"></a> [cloudfront\_origin\_access\_identity\_path](#input\_cloudfront\_origin\_access\_identity\_path)| Existing cloudfront origin access identity path used in the cloudfront distribution's s3\_origin\_config content |`string`|`""`| no |
71
71
| <aname="input_comment"></a> [comment](#input\_comment)| Comment for the origin access identity |`string`|`"Managed by Terraform"`| no |
72
72
| <aname="input_compress"></a> [compress](#input\_compress)| Compress content for web requests that include Accept-Encoding: gzip in the request header |`bool`|`true`| no |
@@ -76,6 +76,7 @@
76
76
| <aname="input_cors_allowed_origins"></a> [cors\_allowed\_origins](#input\_cors\_allowed\_origins)| List of allowed origins (e.g. example.com, test.com) for S3 bucket |`list(string)`|`[]`| no |
77
77
| <aname="input_cors_expose_headers"></a> [cors\_expose\_headers](#input\_cors\_expose\_headers)| List of expose header in the response for S3 bucket |`list(string)`| <pre>[<br> "ETag"<br>]</pre> | no |
78
78
| <aname="input_cors_max_age_seconds"></a> [cors\_max\_age\_seconds](#input\_cors\_max\_age\_seconds)| Time in seconds that browser can cache the response for S3 bucket |`number`|`3600`| no |
79
+
| <aname="input_create_cloudfront_origin_access_identity"></a> [create\_cloudfront\_origin\_access\_identity](#input\_create\_cloudfront\_origin\_access\_identity)| Set to `true` to create a CloudFront Origin Access Identity. You should disable this if you set `cloudfront_origin_access_identity_iam_arn`|`bool`|`true`| no |
79
80
| <aname="input_custom_error_response"></a> [custom\_error\_response](#input\_custom\_error\_response)| List of one or more custom error response element maps | <pre>list(object({<br> error_caching_min_ttl = string<br> error_code = string<br> response_code = string<br> response_page_path = string<br> }))</pre> |`[]`| no |
80
81
| <aname="input_custom_origin_headers"></a> [custom\_origin\_headers](#input\_custom\_origin\_headers)| A list of origin header parameters that will be sent to origin |`list(object({ name = string, value = string }))`|`[]`| no |
81
82
| <aname="input_custom_origins"></a> [custom\_origins](#input\_custom\_origins)| A list of additional custom website [origins](https://www.terraform.io/docs/providers/aws/r/cloudfront_distribution.html#origin-arguments) for this distribution. | <pre>list(object({<br> domain_name = string<br> origin_id = string<br> origin_path = string<br> custom_headers = list(object({<br> name = string<br> value = string<br> }))<br> custom_origin_config = object({<br> http_port = number<br> https_port = number<br> origin_protocol_policy = string<br> origin_ssl_protocols = list(string)<br> origin_keepalive_timeout = number<br> origin_read_timeout = number<br> })<br> }))</pre> |`[]`| no |
description="Set to `true` to create a CloudFront Origin Access Identity. You should disable this if you set `cloudfront_origin_access_identity_iam_arn`"
0 commit comments