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
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -163,13 +163,15 @@ Available targets:
163
163
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`| string |`-`| no |
164
164
| enabled | Select Enabled if you want CloudFront to begin processing requests as soon as the distribution is created, or select Disabled if you do not want CloudFront to begin processing requests after the distribution is created. | bool |`true`| no |
165
165
| encryption_enabled | When set to 'true' the resource will have aes256 encryption enabled by default | bool |`false`| no |
166
+
| error_document | An absolute path to the document to return in case of a 4XX error | string | `` | no |
166
167
| extra_logs_attributes | Additional attributes to put onto the log bucket label | list(string) |`<list>`| no |
167
168
| extra_origin_attributes | Additional attributes to put onto the origin label | list(string) |`<list>`| no |
168
169
| forward_cookies | Time in seconds that browser can cache the response for S3 bucket | string |`none`| no |
169
170
| forward_header_values | A list of whitelisted header values to forward to the origin | list(string) |`<list>`| no |
170
171
| forward_query_string | Forward query strings to the origin that is associated with this cache behavior | bool |`false`| no |
171
172
| geo_restriction_locations | List of country codes for which CloudFront either to distribute content (whitelist) or not distribute your content (blacklist) | list(string) |`<list>`| no |
172
173
| geo_restriction_type | Method that use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`| string |`none`| no |
174
+
| index_document | Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders | string | `` | no |
173
175
| is_ipv6_enabled | State of CloudFront IPv6 | bool |`true`| no |
174
176
| lambda_function_association | A config block that triggers a lambda function with specific actions | object |`<list>`| no |
175
177
| log_expiration_days | Number of days after which to expunge the objects | string |`90`| no |
@@ -189,6 +191,8 @@ Available targets:
189
191
| parent_zone_id | ID of the hosted zone to contain this record (or specify `parent_zone_name`) | string | `` | no |
190
192
| parent_zone_name | Name of the hosted zone to contain this record (or specify `parent_zone_id`) | string | `` | no |
191
193
| price_class | Price class for this distribution: `PriceClass_All`, `PriceClass_200`, `PriceClass_100`| string |`PriceClass_100`| no |
194
+
| redirect_all_requests_to | A hostname to redirect all website requests for this distribution to. If this is set, it overrides other website settings | string | `` | no |
195
+
| routing_rules | A json array containing routing rules describing redirect behavior and when redirects are applied | string | `` | no |
| static_s3_bucket | aws-cli is a bucket owned by amazon that will perminantly exist. It allows for the data source to be called during the destruction process without failing. It doesn't get used for anything else, this is a safe workaround for handling the fact that if a data source like the one `aws_s3_bucket.selected` gets an error, you can't continue the terraform process which also includes the 'destroy' command, where is doesn't even need this data source! Don't change this bucket name, it's a variable so that we can provide this description. And this works around a problem that is an edge case. | string |`aws-cli`| no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,15 @@
22
22
| delimiter | Delimiter to be used between `namespace`, `stage`, `name` and `attributes`| string |`-`| no |
23
23
| enabled | Select Enabled if you want CloudFront to begin processing requests as soon as the distribution is created, or select Disabled if you do not want CloudFront to begin processing requests after the distribution is created. | bool |`true`| no |
24
24
| encryption_enabled | When set to 'true' the resource will have aes256 encryption enabled by default | bool |`false`| no |
25
+
| error_document | An absolute path to the document to return in case of a 4XX error | string | `` | no |
25
26
| extra_logs_attributes | Additional attributes to put onto the log bucket label | list(string) |`<list>`| no |
26
27
| extra_origin_attributes | Additional attributes to put onto the origin label | list(string) |`<list>`| no |
27
28
| forward_cookies | Time in seconds that browser can cache the response for S3 bucket | string |`none`| no |
28
29
| forward_header_values | A list of whitelisted header values to forward to the origin | list(string) |`<list>`| no |
29
30
| forward_query_string | Forward query strings to the origin that is associated with this cache behavior | bool |`false`| no |
30
31
| geo_restriction_locations | List of country codes for which CloudFront either to distribute content (whitelist) or not distribute your content (blacklist) | list(string) |`<list>`| no |
31
32
| geo_restriction_type | Method that use to restrict distribution of your content by country: `none`, `whitelist`, or `blacklist`| string |`none`| no |
33
+
| index_document | Amazon S3 returns this index document when requests are made to the root domain or any of the subfolders | string | `` | no |
32
34
| is_ipv6_enabled | State of CloudFront IPv6 | bool |`true`| no |
33
35
| lambda_function_association | A config block that triggers a lambda function with specific actions | object |`<list>`| no |
34
36
| log_expiration_days | Number of days after which to expunge the objects | string |`90`| no |
@@ -48,6 +50,8 @@
48
50
| parent_zone_id | ID of the hosted zone to contain this record (or specify `parent_zone_name`) | string | `` | no |
49
51
| parent_zone_name | Name of the hosted zone to contain this record (or specify `parent_zone_id`) | string | `` | no |
50
52
| price_class | Price class for this distribution: `PriceClass_All`, `PriceClass_200`, `PriceClass_100`| string |`PriceClass_100`| no |
53
+
| redirect_all_requests_to | A hostname to redirect all website requests for this distribution to. If this is set, it overrides other website settings | string | `` | no |
54
+
| routing_rules | A json array containing routing rules describing redirect behavior and when redirects are applied | string | `` | no |
| static_s3_bucket | aws-cli is a bucket owned by amazon that will perminantly exist. It allows for the data source to be called during the destruction process without failing. It doesn't get used for anything else, this is a safe workaround for handling the fact that if a data source like the one `aws_s3_bucket.selected` gets an error, you can't continue the terraform process which also includes the 'destroy' command, where is doesn't even need this data source! Don't change this bucket name, it's a variable so that we can provide this description. And this works around a problem that is an edge case. | string |`aws-cli`| no |
0 commit comments