From 7f18fb0c0929076e28130d3cfa4dd8f751f24a70 Mon Sep 17 00:00:00 2001 From: Raj Nishtala <113392743+rnishtala-sumo@users.noreply.github.com> Date: Thu, 25 Jul 2024 15:15:29 -0400 Subject: [PATCH] chore: upgrade terraform providers versions in setup (#3791) (#3809) Signed-off-by: Dominik Rosiek (cherry picked from commit 5577707ce153198a2dacbdfc6baa8db349cac944) Co-authored-by: Dominik Rosiek <58699848+sumo-drosiek@users.noreply.github.com> --- .changelog/3791.changed.txt | 1 + deploy/helm/sumologic/conf/setup/main.tf | 4 ++-- .../helm/testdata/goldenfile/terraform/all_fields.output.yaml | 4 ++-- .../goldenfile/terraform/collector_fields.output.yaml | 4 ++-- .../goldenfile/terraform/conditional_sources.output.yaml | 4 ++-- tests/helm/testdata/goldenfile/terraform/custom.output.yaml | 4 ++-- tests/helm/testdata/goldenfile/terraform/default.output.yaml | 4 ++-- .../goldenfile/terraform/disable_default_metrics.output.yaml | 4 ++-- .../goldenfile/terraform/disabled_dashboards.output.yaml | 4 ++-- .../goldenfile/terraform/disabled_monitors.output.yaml | 4 ++-- .../testdata/goldenfile/terraform/logs_fields.output.yaml | 4 ++-- .../terraform/monitors_with_email_notifications.output.yaml | 4 ++-- .../terraform/monitors_with_single_email.output.yaml | 4 ++-- .../goldenfile/terraform/strip_extrapolation.output.yaml | 4 ++-- tests/helm/testdata/goldenfile/terraform/traces.output.yaml | 4 ++-- .../goldenfile/terraform/tracing-metrics-disabled.output.yaml | 4 ++-- 16 files changed, 31 insertions(+), 30 deletions(-) create mode 100644 .changelog/3791.changed.txt diff --git a/.changelog/3791.changed.txt b/.changelog/3791.changed.txt new file mode 100644 index 0000000000..6948683955 --- /dev/null +++ b/.changelog/3791.changed.txt @@ -0,0 +1 @@ +chore: upgrade terraform providers versions in setup \ No newline at end of file diff --git a/deploy/helm/sumologic/conf/setup/main.tf b/deploy/helm/sumologic/conf/setup/main.tf index 52aaf69a66..0b2c14e9c6 100644 --- a/deploy/helm/sumologic/conf/setup/main.tf +++ b/deploy/helm/sumologic/conf/setup/main.tf @@ -2,11 +2,11 @@ terraform { required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/all_fields.output.yaml b/tests/helm/testdata/goldenfile/terraform/all_fields.output.yaml index 94624c8647..928cc4bac0 100644 --- a/tests/helm/testdata/goldenfile/terraform/all_fields.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/all_fields.output.yaml @@ -365,11 +365,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/collector_fields.output.yaml b/tests/helm/testdata/goldenfile/terraform/collector_fields.output.yaml index 194792a7bd..86be5e2c97 100644 --- a/tests/helm/testdata/goldenfile/terraform/collector_fields.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/collector_fields.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/conditional_sources.output.yaml b/tests/helm/testdata/goldenfile/terraform/conditional_sources.output.yaml index f515886010..0c5e066152 100644 --- a/tests/helm/testdata/goldenfile/terraform/conditional_sources.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/conditional_sources.output.yaml @@ -349,11 +349,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/custom.output.yaml b/tests/helm/testdata/goldenfile/terraform/custom.output.yaml index f515886010..0c5e066152 100644 --- a/tests/helm/testdata/goldenfile/terraform/custom.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/custom.output.yaml @@ -349,11 +349,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/default.output.yaml b/tests/helm/testdata/goldenfile/terraform/default.output.yaml index 737b7c8080..b57b7a8c9e 100644 --- a/tests/helm/testdata/goldenfile/terraform/default.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/default.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/disable_default_metrics.output.yaml b/tests/helm/testdata/goldenfile/terraform/disable_default_metrics.output.yaml index 1b3fa903a6..47b55d5bbc 100644 --- a/tests/helm/testdata/goldenfile/terraform/disable_default_metrics.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/disable_default_metrics.output.yaml @@ -363,11 +363,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/disabled_dashboards.output.yaml b/tests/helm/testdata/goldenfile/terraform/disabled_dashboards.output.yaml index 82b3b226bc..bc5a7ae921 100644 --- a/tests/helm/testdata/goldenfile/terraform/disabled_dashboards.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/disabled_dashboards.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/disabled_monitors.output.yaml b/tests/helm/testdata/goldenfile/terraform/disabled_monitors.output.yaml index 42e9428e48..029d4a5c85 100644 --- a/tests/helm/testdata/goldenfile/terraform/disabled_monitors.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/disabled_monitors.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/logs_fields.output.yaml b/tests/helm/testdata/goldenfile/terraform/logs_fields.output.yaml index 87ffb1ddaf..fe92afc7da 100644 --- a/tests/helm/testdata/goldenfile/terraform/logs_fields.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/logs_fields.output.yaml @@ -390,11 +390,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/monitors_with_email_notifications.output.yaml b/tests/helm/testdata/goldenfile/terraform/monitors_with_email_notifications.output.yaml index d9d13d2db4..012844d88e 100644 --- a/tests/helm/testdata/goldenfile/terraform/monitors_with_email_notifications.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/monitors_with_email_notifications.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/monitors_with_single_email.output.yaml b/tests/helm/testdata/goldenfile/terraform/monitors_with_single_email.output.yaml index 67ffdcc994..842ecb07ac 100644 --- a/tests/helm/testdata/goldenfile/terraform/monitors_with_single_email.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/monitors_with_single_email.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/strip_extrapolation.output.yaml b/tests/helm/testdata/goldenfile/terraform/strip_extrapolation.output.yaml index c4a1d3a13b..0cdfd682f6 100644 --- a/tests/helm/testdata/goldenfile/terraform/strip_extrapolation.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/strip_extrapolation.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/traces.output.yaml b/tests/helm/testdata/goldenfile/terraform/traces.output.yaml index 3e6ea386f7..5106f8bc0b 100644 --- a/tests/helm/testdata/goldenfile/terraform/traces.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/traces.output.yaml @@ -352,11 +352,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } } diff --git a/tests/helm/testdata/goldenfile/terraform/tracing-metrics-disabled.output.yaml b/tests/helm/testdata/goldenfile/terraform/tracing-metrics-disabled.output.yaml index 737b7c8080..b57b7a8c9e 100644 --- a/tests/helm/testdata/goldenfile/terraform/tracing-metrics-disabled.output.yaml +++ b/tests/helm/testdata/goldenfile/terraform/tracing-metrics-disabled.output.yaml @@ -364,11 +364,11 @@ data: required_providers { sumologic = { source = "sumologic/sumologic" - version = "~> 2.18" + version = ">= 2.31.0, < 3.0.0" } kubernetes = { source = "hashicorp/kubernetes" - version = "~> 2.4" + version = "~> 2.31.0" } } }