From 0cf5a3d6b1878fadb63c272f5a7262c8fe1f3905 Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Mon, 1 Jul 2024 12:10:57 +0530 Subject: [PATCH 1/5] updated code to use CVE fixed sumo provider v2.31.0 --- README.md | 2 +- aws/cloudtrail/README.md | 4 ++-- aws/cloudtrail/examples/default/README.md | 2 +- aws/cloudtrail/examples/default/versions.tf | 2 +- aws/cloudtrail/versions.tf | 2 +- aws/cloudwatchlogsforwarder/README.md | 4 ++-- aws/cloudwatchlogsforwarder/examples/default/README.md | 2 +- aws/cloudwatchlogsforwarder/examples/default/versions.tf | 2 +- aws/cloudwatchlogsforwarder/versions.tf | 2 +- aws/cloudwatchmetrics/README.md | 4 ++-- aws/cloudwatchmetrics/examples/default/README.md | 2 +- aws/cloudwatchmetrics/examples/default/versions.tf | 2 +- aws/cloudwatchmetrics/versions.tf | 2 +- aws/elasticloadbalancing/README.md | 4 ++-- aws/elasticloadbalancing/examples/default/README.md | 2 +- aws/elasticloadbalancing/examples/default/versions.tf | 2 +- aws/elasticloadbalancing/versions.tf | 2 +- aws/elb/README.md | 4 ++-- aws/elb/examples/default/README.md | 2 +- aws/elb/examples/default/versions.tf | 2 +- aws/elb/versions.tf | 2 +- aws/kinesisfirehoseforlogs/README.md | 4 ++-- aws/kinesisfirehoseforlogs/examples/default/README.md | 2 +- aws/kinesisfirehoseforlogs/examples/default/versions.tf | 2 +- aws/kinesisfirehoseforlogs/versions.tf | 2 +- aws/kinesisfirehoseformetrics/README.md | 4 ++-- aws/kinesisfirehoseformetrics/examples/default/README.md | 2 +- aws/kinesisfirehoseformetrics/examples/default/versions.tf | 2 +- aws/kinesisfirehoseformetrics/versions.tf | 2 +- aws/rootcause/README.md | 4 ++-- aws/rootcause/examples/default/README.md | 2 +- aws/rootcause/examples/default/versions.tf | 2 +- aws/rootcause/versions.tf | 2 +- sumologic/versions.tf | 2 +- 34 files changed, 42 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 3a6234b..c853a3a 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ The modules configure/create the following resources: } sumologic = { source = "sumologic/sumologic" - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" } jira = { source = "fourplusone/jira" diff --git a/aws/cloudtrail/README.md b/aws/cloudtrail/README.md index a0b8638..b0f4e2e 100644 --- a/aws/cloudtrail/README.md +++ b/aws/cloudtrail/README.md @@ -15,7 +15,7 @@ This module is used to create AWS and Sumo Logic resource to collect CloudTrail | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >=3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >=0.7.1 | ## Providers @@ -24,7 +24,7 @@ This module is used to create AWS and Sumo Logic resource to collect CloudTrail |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >=3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#provider\_time) | >=0.7.1 | ## Modules diff --git a/aws/cloudtrail/examples/default/README.md b/aws/cloudtrail/examples/default/README.md index d503061..639ef67 100644 --- a/aws/cloudtrail/examples/default/README.md +++ b/aws/cloudtrail/examples/default/README.md @@ -5,7 +5,7 @@ | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >=3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | ## Providers diff --git a/aws/cloudtrail/examples/default/versions.tf b/aws/cloudtrail/examples/default/versions.tf index ccd45d2..46ca98d 100644 --- a/aws/cloudtrail/examples/default/versions.tf +++ b/aws/cloudtrail/examples/default/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } aws = { diff --git a/aws/cloudtrail/versions.tf b/aws/cloudtrail/versions.tf index eb94522..11cea5f 100644 --- a/aws/cloudtrail/versions.tf +++ b/aws/cloudtrail/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/cloudwatchlogsforwarder/README.md b/aws/cloudwatchlogsforwarder/README.md index 49971df..ac3dfef 100644 --- a/aws/cloudwatchlogsforwarder/README.md +++ b/aws/cloudwatchlogsforwarder/README.md @@ -13,7 +13,7 @@ This module is used to create the SumoLogic AWS HTTP source to collect AWS Cloud | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | ## Providers @@ -21,7 +21,7 @@ This module is used to create the SumoLogic AWS HTTP source to collect AWS Cloud |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >= 3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | ## Modules diff --git a/aws/cloudwatchlogsforwarder/examples/default/README.md b/aws/cloudwatchlogsforwarder/examples/default/README.md index 7aef9dc..11c34c2 100644 --- a/aws/cloudwatchlogsforwarder/examples/default/README.md +++ b/aws/cloudwatchlogsforwarder/examples/default/README.md @@ -4,7 +4,7 @@ |------|---------| | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | ## Providers diff --git a/aws/cloudwatchlogsforwarder/examples/default/versions.tf b/aws/cloudwatchlogsforwarder/examples/default/versions.tf index 4ace1f3..73ae8f4 100644 --- a/aws/cloudwatchlogsforwarder/examples/default/versions.tf +++ b/aws/cloudwatchlogsforwarder/examples/default/versions.tf @@ -3,7 +3,7 @@ terraform { required_providers { sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } aws = { diff --git a/aws/cloudwatchlogsforwarder/versions.tf b/aws/cloudwatchlogsforwarder/versions.tf index cb1be8f..92c77a0 100644 --- a/aws/cloudwatchlogsforwarder/versions.tf +++ b/aws/cloudwatchlogsforwarder/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } random = { diff --git a/aws/cloudwatchmetrics/README.md b/aws/cloudwatchmetrics/README.md index b0bfade..036a5eb 100644 --- a/aws/cloudwatchmetrics/README.md +++ b/aws/cloudwatchmetrics/README.md @@ -12,7 +12,7 @@ This module is used to create the SumoLogic AWS CloudWatch metrics source. Featu | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >=3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >=0.7.1 | ## Providers @@ -21,7 +21,7 @@ This module is used to create the SumoLogic AWS CloudWatch metrics source. Featu |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >=3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#provider\_time) | >=0.7.1 | ## Modules diff --git a/aws/cloudwatchmetrics/examples/default/README.md b/aws/cloudwatchmetrics/examples/default/README.md index 10e33bc..b999ef0 100644 --- a/aws/cloudwatchmetrics/examples/default/README.md +++ b/aws/cloudwatchmetrics/examples/default/README.md @@ -4,7 +4,7 @@ |------|---------| | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | ## Providers diff --git a/aws/cloudwatchmetrics/examples/default/versions.tf b/aws/cloudwatchmetrics/examples/default/versions.tf index c3d9d0b..dbad3aa 100644 --- a/aws/cloudwatchmetrics/examples/default/versions.tf +++ b/aws/cloudwatchmetrics/examples/default/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } } diff --git a/aws/cloudwatchmetrics/versions.tf b/aws/cloudwatchmetrics/versions.tf index eb94522..11cea5f 100644 --- a/aws/cloudwatchmetrics/versions.tf +++ b/aws/cloudwatchmetrics/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/elasticloadbalancing/README.md b/aws/elasticloadbalancing/README.md index 2e17ab4..d149841 100644 --- a/aws/elasticloadbalancing/README.md +++ b/aws/elasticloadbalancing/README.md @@ -15,7 +15,7 @@ This module is used to create AWS and Sumo Logic resource to collect ELB logs fr | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >=3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >=0.7.1 | ## Providers @@ -24,7 +24,7 @@ This module is used to create AWS and Sumo Logic resource to collect ELB logs fr |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >=3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#provider\_time) | >=0.7.1 | ## Modules diff --git a/aws/elasticloadbalancing/examples/default/README.md b/aws/elasticloadbalancing/examples/default/README.md index 10c27d6..92cc114 100644 --- a/aws/elasticloadbalancing/examples/default/README.md +++ b/aws/elasticloadbalancing/examples/default/README.md @@ -5,7 +5,7 @@ | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >= 0.11.1 | ## Providers diff --git a/aws/elasticloadbalancing/examples/default/versions.tf b/aws/elasticloadbalancing/examples/default/versions.tf index ede7a75..9a357ee 100644 --- a/aws/elasticloadbalancing/examples/default/versions.tf +++ b/aws/elasticloadbalancing/examples/default/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/elasticloadbalancing/versions.tf b/aws/elasticloadbalancing/versions.tf index eb94522..11cea5f 100644 --- a/aws/elasticloadbalancing/versions.tf +++ b/aws/elasticloadbalancing/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/elb/README.md b/aws/elb/README.md index f99f4af..8bd2ba1 100644 --- a/aws/elb/README.md +++ b/aws/elb/README.md @@ -15,7 +15,7 @@ This module is used to create AWS and Sumo Logic resource to collect ELB logs fr | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >=3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >=0.7.1 | ## Providers @@ -24,7 +24,7 @@ This module is used to create AWS and Sumo Logic resource to collect ELB logs fr |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >=3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#provider\_time) | >=0.7.1 | ## Modules diff --git a/aws/elb/examples/default/README.md b/aws/elb/examples/default/README.md index 570a308..177f4f3 100644 --- a/aws/elb/examples/default/README.md +++ b/aws/elb/examples/default/README.md @@ -5,7 +5,7 @@ | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >= 0.11.1 | ## Providers diff --git a/aws/elb/examples/default/versions.tf b/aws/elb/examples/default/versions.tf index ede7a75..9a357ee 100644 --- a/aws/elb/examples/default/versions.tf +++ b/aws/elb/examples/default/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/elb/versions.tf b/aws/elb/versions.tf index eb94522..11cea5f 100644 --- a/aws/elb/versions.tf +++ b/aws/elb/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/kinesisfirehoseforlogs/README.md b/aws/kinesisfirehoseforlogs/README.md index 254ff3d..ddfaa53 100644 --- a/aws/kinesisfirehoseforlogs/README.md +++ b/aws/kinesisfirehoseforlogs/README.md @@ -14,7 +14,7 @@ This module is used to create the SumoLogic AWS Kinesis Firehose for Logs source | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | ## Providers @@ -22,7 +22,7 @@ This module is used to create the SumoLogic AWS Kinesis Firehose for Logs source |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >= 3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | ## Modules diff --git a/aws/kinesisfirehoseforlogs/examples/default/README.md b/aws/kinesisfirehoseforlogs/examples/default/README.md index b6491fe..0ff65cb 100644 --- a/aws/kinesisfirehoseforlogs/examples/default/README.md +++ b/aws/kinesisfirehoseforlogs/examples/default/README.md @@ -5,7 +5,7 @@ | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >= 0.11.1 | ## Providers diff --git a/aws/kinesisfirehoseforlogs/examples/default/versions.tf b/aws/kinesisfirehoseforlogs/examples/default/versions.tf index ede7a75..9a357ee 100644 --- a/aws/kinesisfirehoseforlogs/examples/default/versions.tf +++ b/aws/kinesisfirehoseforlogs/examples/default/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/kinesisfirehoseforlogs/versions.tf b/aws/kinesisfirehoseforlogs/versions.tf index c306d65..c379cd4 100644 --- a/aws/kinesisfirehoseforlogs/versions.tf +++ b/aws/kinesisfirehoseforlogs/versions.tf @@ -8,7 +8,7 @@ terraform { } sumologic = { source = "SumoLogic/sumologic" - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" } random = { source = "hashicorp/random" diff --git a/aws/kinesisfirehoseformetrics/README.md b/aws/kinesisfirehoseformetrics/README.md index dd4cf80..b6e7837 100644 --- a/aws/kinesisfirehoseformetrics/README.md +++ b/aws/kinesisfirehoseformetrics/README.md @@ -13,7 +13,7 @@ This module is used to create the SumoLogic AWS Kinesis Firehose for Metrics sou | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >= 0.7.1 | ## Providers @@ -22,7 +22,7 @@ This module is used to create the SumoLogic AWS Kinesis Firehose for Metrics sou |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >= 3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#provider\_time) | >= 0.7.1 | ## Modules diff --git a/aws/kinesisfirehoseformetrics/examples/default/README.md b/aws/kinesisfirehoseformetrics/examples/default/README.md index 275c9f6..58d4046 100644 --- a/aws/kinesisfirehoseformetrics/examples/default/README.md +++ b/aws/kinesisfirehoseformetrics/examples/default/README.md @@ -5,7 +5,7 @@ | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >= 0.11.1 | ## Providers diff --git a/aws/kinesisfirehoseformetrics/examples/default/versions.tf b/aws/kinesisfirehoseformetrics/examples/default/versions.tf index ede7a75..9a357ee 100644 --- a/aws/kinesisfirehoseformetrics/examples/default/versions.tf +++ b/aws/kinesisfirehoseformetrics/examples/default/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/aws/kinesisfirehoseformetrics/versions.tf b/aws/kinesisfirehoseformetrics/versions.tf index 649583f..c193b2d 100644 --- a/aws/kinesisfirehoseformetrics/versions.tf +++ b/aws/kinesisfirehoseformetrics/versions.tf @@ -8,7 +8,7 @@ terraform { } sumologic = { source = "SumoLogic/sumologic" - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" } time = { source = "hashicorp/time" diff --git a/aws/rootcause/README.md b/aws/rootcause/README.md index 73206e2..dd6394a 100644 --- a/aws/rootcause/README.md +++ b/aws/rootcause/README.md @@ -12,7 +12,7 @@ This module is used to create the SumoLogic AWS RootCause sources. Features incl | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | | [random](#requirement\_random) | >= 3.1.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#requirement\_time) | >= 0.7.1 | ## Providers @@ -21,7 +21,7 @@ This module is used to create the SumoLogic AWS RootCause sources. Features incl |------|---------| | [aws](#provider\_aws) | >= 5.16.2, < 6.0.0 | | [random](#provider\_random) | >= 3.1.0 | -| [sumologic](#provider\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#provider\_sumologic) | >= 2.31.0, < 3.0.0 | | [time](#provider\_time) | >= 0.7.1 | ## Modules diff --git a/aws/rootcause/examples/default/README.md b/aws/rootcause/examples/default/README.md index db757ac..94997c5 100644 --- a/aws/rootcause/examples/default/README.md +++ b/aws/rootcause/examples/default/README.md @@ -4,7 +4,7 @@ |------|---------| | [terraform](#requirement\_terraform) | >= 0.13.0 | | [aws](#requirement\_aws) | >= 5.16.2, < 6.0.0 | -| [sumologic](#requirement\_sumologic) | >= 2.28.3, < 3.0.0 | +| [sumologic](#requirement\_sumologic) | >= 2.31.0, < 3.0.0 | ## Providers diff --git a/aws/rootcause/examples/default/versions.tf b/aws/rootcause/examples/default/versions.tf index 9cedb64..94fe329 100644 --- a/aws/rootcause/examples/default/versions.tf +++ b/aws/rootcause/examples/default/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } } diff --git a/aws/rootcause/versions.tf b/aws/rootcause/versions.tf index 25432b5..af0f312 100644 --- a/aws/rootcause/versions.tf +++ b/aws/rootcause/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 5.16.2, < 6.0.0" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } time = { diff --git a/sumologic/versions.tf b/sumologic/versions.tf index 104bf94..9be0b77 100644 --- a/sumologic/versions.tf +++ b/sumologic/versions.tf @@ -7,7 +7,7 @@ terraform { version = ">= 2.1" } sumologic = { - version = ">= 2.28.3, < 3.0.0" + version = ">= 2.31.0, < 3.0.0" source = "SumoLogic/sumologic" } } From 4f78050fb24f56adc51fbde5bafaa301bcf12d80 Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Mon, 1 Jul 2024 12:39:32 +0530 Subject: [PATCH 2/5] Updating monitors tf source to use new provider --- sumologic/sumologic.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sumologic/sumologic.tf b/sumologic/sumologic.tf index 82b6386..877f6b1 100644 --- a/sumologic/sumologic.tf +++ b/sumologic/sumologic.tf @@ -73,7 +73,8 @@ resource "sumologic_content" "SumoLogicApps" { module "SumoLogicMonitors" { for_each = var.managed_monitors - source = "SumoLogic/sumo-logic-monitor/sumologic" + # source = "SumoLogic/sumo-logic-monitor/sumologic" + source = "git::https://github.com/SumoLogic/terraform-sumologic-sumo-logic-monitor.git///sumologic?ref=sumo-provider-2.31.0" monitor_name = each.value.monitor_name monitor_description = each.value.monitor_description monitor_monitor_type = each.value.monitor_monitor_type From 7410f9b740798969f7588282881f87e026205589 Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Mon, 1 Jul 2024 12:50:35 +0530 Subject: [PATCH 3/5] fixing / char --- sumologic/sumologic.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sumologic/sumologic.tf b/sumologic/sumologic.tf index 877f6b1..fabfd3d 100644 --- a/sumologic/sumologic.tf +++ b/sumologic/sumologic.tf @@ -74,7 +74,7 @@ module "SumoLogicMonitors" { for_each = var.managed_monitors # source = "SumoLogic/sumo-logic-monitor/sumologic" - source = "git::https://github.com/SumoLogic/terraform-sumologic-sumo-logic-monitor.git///sumologic?ref=sumo-provider-2.31.0" + source = "git::https://github.com/SumoLogic/terraform-sumologic-sumo-logic-monitor.git//sumologic?ref=sumo-provider-2.31.0" monitor_name = each.value.monitor_name monitor_description = each.value.monitor_description monitor_monitor_type = each.value.monitor_monitor_type From b4e591c07184c839109b8480e863049e39420e0a Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Mon, 1 Jul 2024 12:53:40 +0530 Subject: [PATCH 4/5] fixing module path --- sumologic/sumologic.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sumologic/sumologic.tf b/sumologic/sumologic.tf index fabfd3d..92a3535 100644 --- a/sumologic/sumologic.tf +++ b/sumologic/sumologic.tf @@ -74,7 +74,7 @@ module "SumoLogicMonitors" { for_each = var.managed_monitors # source = "SumoLogic/sumo-logic-monitor/sumologic" - source = "git::https://github.com/SumoLogic/terraform-sumologic-sumo-logic-monitor.git//sumologic?ref=sumo-provider-2.31.0" + source = "git::https://github.com/SumoLogic/terraform-sumologic-sumo-logic-monitor.git?ref=sumo-provider-2.31.0" monitor_name = each.value.monitor_name monitor_description = each.value.monitor_description monitor_monitor_type = each.value.monitor_monitor_type From a1d30bfd087d6a27f5a0bbb64bec63d30ff2a7b9 Mon Sep 17 00:00:00 2001 From: Himanshu Sharma Date: Mon, 1 Jul 2024 13:36:49 +0530 Subject: [PATCH 5/5] reverting testing source --- sumologic/sumologic.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sumologic/sumologic.tf b/sumologic/sumologic.tf index 92a3535..82b6386 100644 --- a/sumologic/sumologic.tf +++ b/sumologic/sumologic.tf @@ -73,8 +73,7 @@ resource "sumologic_content" "SumoLogicApps" { module "SumoLogicMonitors" { for_each = var.managed_monitors - # source = "SumoLogic/sumo-logic-monitor/sumologic" - source = "git::https://github.com/SumoLogic/terraform-sumologic-sumo-logic-monitor.git?ref=sumo-provider-2.31.0" + source = "SumoLogic/sumo-logic-monitor/sumologic" monitor_name = each.value.monitor_name monitor_description = each.value.monitor_description monitor_monitor_type = each.value.monitor_monitor_type