Skip to content

Commit

Permalink
change enable_cloudwatch_logs default to true
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 6, 2023
1 parent 2b5f575 commit 76275ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,6 @@
* 2.4.6 -- 2023-09-06
- cloudtrail
- update permissions for SNS, SQS to allow s3
- add enable_cloudwatch_logs with a default of false
- add enable_cloudwatch_logs with a default of true
- cloudtrail-key
- add s3.amazonaws.com
2 changes: 1 addition & 1 deletion cloudtrail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ No modules.
| <a name="input_additional_sqs_names"></a> [additional\_sqs\_names](#input\_additional\_sqs\_names) | List of additional SQS queues to create and subscribe to the SNS topic (if enabled) | `list(string)` | `[]` | no |
| <a name="input_cloudtrail_bucket_prefix"></a> [cloudtrail\_bucket\_prefix](#input\_cloudtrail\_bucket\_prefix) | Access log bucket prefix, to which the bucket name will be appended to make the target\_prefix | `string` | `"cloudtrail"` | no |
| <a name="input_component_tags"></a> [component\_tags](#input\_component\_tags) | Additional tags for Components (s3, kms, ddb) | `map(map(string))` | <pre>{<br> "ddb": {},<br> "kms": {},<br> "s3": {}<br>}</pre> | no |
| <a name="input_enable_cloudwatch_logs"></a> [enable\_cloudwatch\_logs](#input\_enable\_cloudwatch\_logs) | Enable CloudWatch Logs for this CloudTrail | `bool` | `false` | no |
| <a name="input_enable_cloudwatch_logs"></a> [enable\_cloudwatch\_logs](#input\_enable\_cloudwatch\_logs) | Enable CloudWatch Logs for this CloudTrail | `bool` | `true` | no |
| <a name="input_enable_organization"></a> [enable\_organization](#input\_enable\_organization) | Enable CloudTrail as an organization trail. This will only work in the organization master account | `bool` | `false` | no |
| <a name="input_enable_s3_sns"></a> [enable\_s3\_sns](#input\_enable\_s3\_sns) | Flag to enable or disable the creation of SNS for the Cloudtrail S3 bucket | `bool` | `false` | no |
| <a name="input_enable_s3_sqs"></a> [enable\_s3\_sqs](#input\_enable\_s3\_sqs) | Flag to enable or disable the creation of SQS attached to SNS for Cloudtrail S3 bucket | `bool` | `false` | no |
Expand Down
2 changes: 1 addition & 1 deletion cloudtrail/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,5 @@ variable "additional_s3_sqs_names" {
variable "enable_cloudwatch_logs" {
description = "Enable CloudWatch Logs for this CloudTrail"
type = bool
default = false
default = true
}

0 comments on commit 76275ed

Please sign in to comment.