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
* correct enabled behavior
* Auto Format
* fix docs
* Auto Format
* use indexes
* wrap outputs in try
* do not generate data if we arent using it
* wrap data in try
* wrap check
* wrap more checks
* wrap more checks
* change s3 bucket check
* change s3 policy bucket check
* update docs
* Auto Format
* fix
* remove leftover
Co-authored-by: cloudpossebot <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,6 +277,7 @@ Available targets:
277
277
| <aname="input_default_root_object"></a> [default\_root\_object](#input\_default\_root\_object)| Object that CloudFront return when requests the root URL |`string`|`"index.html"`| no |
278
278
| <aname="input_default_ttl"></a> [default\_ttl](#input\_default\_ttl)| Default amount of time (in seconds) that an object is in a CloudFront cache |`number`|`60`| no |
279
279
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
280
+
| <aname="input_distribution_enabled"></a> [distribution\_enabled](#input\_distribution\_enabled)| Set to `true` if you want CloudFront to begin processing requests as soon as the distribution is created, or to false if you do not want CloudFront to begin processing requests after the distribution is created. |`bool`|`true`| no |
280
281
| <aname="input_dns_alias_enabled"></a> [dns\_alias\_enabled](#input\_dns\_alias\_enabled)| Create a DNS alias for the CDN. Requires `parent_zone_id` or `parent_zone_name`|`bool`|`false`| no |
281
282
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
282
283
| <aname="input_encryption_enabled"></a> [encryption\_enabled](#input\_encryption\_enabled)| When set to 'true' the resource will have aes256 encryption enabled by default |`bool`|`true`| no |
Copy file name to clipboardExpand all lines: docs/terraform.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@
63
63
| <aname="input_default_root_object"></a> [default\_root\_object](#input\_default\_root\_object)| Object that CloudFront return when requests the root URL |`string`|`"index.html"`| no |
64
64
| <aname="input_default_ttl"></a> [default\_ttl](#input\_default\_ttl)| Default amount of time (in seconds) that an object is in a CloudFront cache |`number`|`60`| no |
65
65
| <aname="input_delimiter"></a> [delimiter](#input\_delimiter)| Delimiter to be used between `namespace`, `environment`, `stage`, `name` and `attributes`.<br>Defaults to `-` (hyphen). Set to `""` to use no delimiter at all. |`string`|`null`| no |
66
+
| <aname="input_distribution_enabled"></a> [distribution\_enabled](#input\_distribution\_enabled)| Set to `true` if you want CloudFront to begin processing requests as soon as the distribution is created, or to false if you do not want CloudFront to begin processing requests after the distribution is created. |`bool`|`true`| no |
66
67
| <aname="input_dns_alias_enabled"></a> [dns\_alias\_enabled](#input\_dns\_alias\_enabled)| Create a DNS alias for the CDN. Requires `parent_zone_id` or `parent_zone_name`|`bool`|`false`| no |
67
68
| <aname="input_enabled"></a> [enabled](#input\_enabled)| Set to false to prevent the module from creating any resources |`bool`|`null`| no |
68
69
| <aname="input_encryption_enabled"></a> [encryption\_enabled](#input\_encryption\_enabled)| When set to 'true' the resource will have aes256 encryption enabled by default |`bool`|`true`| no |
#bridgecrew:skip=BC_AWS_S3_13:Skipping `Enable S3 Bucket Logging` check until bridgecrew will support dynamic blocks (https://github.com/bridgecrewio/checkov/issues/776).
83
87
#bridgecrew:skip=BC_AWS_S3_14:Skipping `Ensure all data stored in the S3 bucket is securely encrypted at rest` check until bridgecrew will support dynamic blocks (https://github.com/bridgecrewio/checkov/issues/776).
84
88
#bridgecrew:skip=CKV_AWS_52:Skipping `Ensure S3 bucket has MFA delete enabled` due to issue in terraform (https://github.com/hashicorp/terraform-provider-aws/issues/629).
#bridgecrew:skip=BC_AWS_LOGGING_20:Skipping `CloudFront Access Logging` check until bridgecrew will support dynamic blocks (https://github.com/bridgecrewio/checkov/issues/776).
description="Name of the S3 bucket where s3 access log will be sent to"
426
426
}
427
+
428
+
variable"distribution_enabled" {
429
+
type=bool
430
+
default=true
431
+
description="Set to `true` if you want CloudFront to begin processing requests as soon as the distribution is created, or to false if you do not want CloudFront to begin processing requests after the distribution is created."
0 commit comments