Skip to content

Commit 58f9068

Browse files
author
sourabh
committed
updating examples
1 parent a384040 commit 58f9068

File tree

5 files changed

+29
-7
lines changed

5 files changed

+29
-7
lines changed

examples/aws_cloudtrail.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,13 @@ module "sumologic-cloudtrail-apps" {
3030
},
3131
"sumo_account_id" = "926226587429",
3232
"collector_id" = "",
33-
"iam_role_arn" = "",
34-
"sns_topic_arn" = ""
33+
"iam_details" = {
34+
"create_iam_role" = true,
35+
"iam_role_arn" = ""
36+
}
37+
"sns_topic_details" = {
38+
"create_sns_topic" = true,
39+
"sns_topic_arn" = ""
40+
}
3541
}
3642
}

examples/aws_cloudwatchmetrics.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module "cloudwatchmetrics" {
2323
paused = false
2424
sumo_account_id = 926226587429
2525
fields = {}
26-
iam_role_arn = ""
26+
"iam_details" = {
27+
"create_iam_role" = true,
28+
"iam_role_arn" = ""
29+
}
2730
}
2831
}

examples/aws_elb.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@ module "sumologic-elb" {
2828
},
2929
"sumo_account_id" = "926226587429",
3030
"collector_id" = "",
31-
"iam_role_arn" = "",
32-
"sns_topic_arn" = ""
31+
"iam_details" = {
32+
"create_iam_role" = true,
33+
"iam_role_arn" = ""
34+
}
35+
"sns_topic_details" = {
36+
"create_sns_topic" = true,
37+
"sns_topic_arn" = ""
38+
}
3339
}
3440
auto_enable_access_logs = "Both"
3541
auto_enable_access_logs_options = {

examples/aws_kinesisfirehoseformetrics.tf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ module "kinesisfirehoseformetrics" {
2323
limit_to_namespaces = ["AWS/SNS", "AWS/SQS"]
2424
sumo_account_id = 926226587429
2525
fields = {}
26-
iam_role_arn = ""
26+
"iam_details" = {
27+
"create_iam_role" = true,
28+
"iam_role_arn" = ""
29+
}
2730
}
2831
}

examples/aws_rootcause.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,9 @@ module "rootcause" {
4343
limit_to_regions = ["us-east-1"]
4444
}
4545
sumologic_organization_id = "0000000000123456"
46-
aws_iam_role_arn = ""
46+
47+
iam_details = {
48+
"create_iam_role" = true,
49+
"iam_role_arn" = ""
50+
}
4751
}

0 commit comments

Comments
 (0)