Skip to content

Commit

Permalink
enabled multi region deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
harmanjyotkaur committed May 21, 2021
1 parent 101427f commit 2be3a30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ resource "aws_cloudtrail" "default" {
enable_logging = var.enable_logging
s3_bucket_name = var.s3_bucket_name
enable_log_file_validation = var.enable_log_file_validation
is_multi_region_trail = var.is_multi_region_trail
is_multi_region_trail = true
include_global_service_events = var.include_global_service_events
cloud_watch_logs_role_arn = var.cloud_watch_logs_role_arn
cloud_watch_logs_group_arn = format("%s:*", var.cloud_watch_logs_group_arn)
Expand Down
6 changes: 0 additions & 6 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ variable "enable_log_file_validation" {
description = "Specifies whether log file integrity validation is enabled. Creates signed digest for validated contents of logs."
}

variable "is_multi_region_trail" {
type = bool
default = true
description = "Specifies whether the trail is created in the current region or in all regions."
}

variable "include_global_service_events" {
type = bool
default = true
Expand Down

0 comments on commit 2be3a30

Please sign in to comment.