File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,19 @@ module "datadog" {
23
23
source = "git::https://github.com/scribd/terraform-aws-datadog.git?ref=master"
24
24
aws_account_id = data.aws_caller_identity.current.account_id
25
25
datadog_api_key = var.datadog_api_key
26
+ env = local.tags.env
27
+ namespace = local.tags.namespace
26
28
27
29
cloudtrail_bucket_id = aws_s3_bucket.org-cloudtrail-bucket.id
28
30
cloudtrail_bucket_arn = aws_s3_bucket.org-cloudtrail-bucket.arn
29
31
30
32
cloudwatch_log_groups = ["cloudwatch_log_group_1", "cloudwatch_log_group_2"]
33
+
34
+ account_specific_namespace_rules = {
35
+ elasticache = true
36
+ network_elb = true
37
+ lambda = true
38
+ }
31
39
}
32
40
```
33
41
@@ -44,7 +52,10 @@ module "datadog" {
44
52
datadog_api_key = var.datadog_api_key
45
53
create_elb_logs_bucket = false
46
54
enable_datadog_aws_integration = false
47
- cloudwatch_log_groups = ["cloudwatch_log_group_1", "cloudwatch_log_group_2"]
55
+ env = local.tags.env
56
+ namespace = local.tags.namespace
57
+
58
+ cloudwatch_log_groups = ["cloudwatch_log_group_1", "cloudwatch_log_group_2"]
48
59
}
49
60
```
50
61
You can’t perform that action at this time.
0 commit comments