forked from telia-oss/terraform-aws-secure-baseline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudtrail-baseline.tf
20 lines (18 loc) · 1020 Bytes
/
cloudtrail-baseline.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
module "secure-baseline_cloudtrail-baseline" {
source = "nozaq/secure-baseline/aws//modules/cloudtrail-baseline"
version = "0.20.0"
enabled = var.cloudtrail_enabled
aws_account_id = var.aws_account_id
region = var.aws_region
cloudtrail_name = var.cloudtrail_name
cloudtrail_sns_topic_name = var.cloudtrail_sns_topic_name
cloudwatch_logs_group_name = var.cloudtrail_log_group_name
cloudwatch_logs_retention_in_days = var.cloudwatch_logs_retention_in_days
iam_role_name = var.cloud_trail_iam_role_name
iam_role_policy_name = var.cloud_trail_iam_role_policy_name
key_deletion_window_in_days = var.key_deletion_window_in_days
s3_bucket_name = var.s3_bucket_name
s3_key_prefix = var.s3_key_prefix
is_organization_trail = var.is_organization_trail
tags = local.tags
}