1+ module "rootcause" {
2+ source = " ../aws/rootcause"
3+
4+ create_collector = true
5+ collector_details = {
6+ " collector_name" = " Root Cause Collector" ,
7+ " description" = " This is a new description." ,
8+ " fields" = {
9+ " TestCollector" = " MyValue"
10+ }
11+ }
12+
13+ create_inventory_source = true
14+ inventory_source_details = {
15+ " source_name" = " Inventory Source" ,
16+ " source_category" = " Labs/inventory" ,
17+ " description" = " This source is inventory source." ,
18+ " paused" = false ,
19+ " scan_interval" = 60000 ,
20+ " fields" = {
21+ " TestCollector" = " MyValue"
22+ },
23+ " sumo_account_id" = " 926226587429" ,
24+ " collector_id" = " " ,
25+ " iam_role_arn" = " " ,
26+ limit_to_regions = [" us-east-1" ],
27+ limit_to_namespaces = [" AWS/SNS" ]
28+ }
29+
30+ create_xray_source = true
31+ xray_source_details = {
32+ " source_name" = " XRay Source" ,
33+ " source_category" = " Labs/xray" ,
34+ " description" = " This source is xray source." ,
35+ " paused" = false ,
36+ " scan_interval" = 60000 ,
37+ " fields" = {
38+ " TestCollector" = " MyValue"
39+ },
40+ " sumo_account_id" = " 926226587429" ,
41+ " collector_id" = " " ,
42+ " iam_role_arn" = " " ,
43+ limit_to_regions = [" us-east-1" ]
44+ }
45+ sumologic_organization_id = " 0000000000123456"
46+ aws_iam_role_arn = " "
47+ }
0 commit comments