From f90e543aeeee0d42aa2f2c62123cacfe8f8bf2a3 Mon Sep 17 00:00:00 2001 From: Ravina Dhruve <136399755+ravinadhruve10@users.noreply.github.com> Date: Tue, 19 Mar 2024 11:04:07 -0700 Subject: [PATCH] Fix sysdig provider versioning in webhook-datasource module (#24) --- modules/services/webhook-datasource/README.md | 4 ++-- modules/services/webhook-datasource/versions.tf | 2 +- .../organization/main.tf | 2 +- .../secure_config_posture_identity_access/single/main.tf | 2 +- test/examples/secure_threat_detection/organization/main.tf | 2 +- test/examples/secure_threat_detection/single/main.tf | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/services/webhook-datasource/README.md b/modules/services/webhook-datasource/README.md index 40486d4..32641c1 100644 --- a/modules/services/webhook-datasource/README.md +++ b/modules/services/webhook-datasource/README.md @@ -16,7 +16,7 @@ The following resources will be created in each instrumented account: |------|---------| | [terraform](#requirement\_terraform) | >= 1.0.0 | | [google](#requirement\_google) | >= 4.21.0 | -| [sysdig](#requirement\_sysdig) | >= 1.19.0 | +| [sysdig](#requirement\_sysdig) | >= 1.23.1 | ## Providers @@ -84,4 +84,4 @@ No modules. | [workload\_identity\_pool\_id](#output\_workload\_identity\_pool\_id) | Id of Workload Identity Pool for authenticating to GCP to access data ingestion resources | | [workload\_identity\_pool\_provider\_id](#output\_workload\_identity\_pool\_provider\_id) | Id of Workload Identity Pool Provider for authenticating to GCP to access data ingestion resources | | [workload\_identity\_project\_number](#output\_workload\_identity\_project\_number) | GCP project number | -| [service\_account\_email](#output\_service\_account\_email) | email of the Service Account created | \ No newline at end of file +| [service\_account\_email](#output\_service\_account\_email) | email of the Service Account created | diff --git a/modules/services/webhook-datasource/versions.tf b/modules/services/webhook-datasource/versions.tf index 2ee91bc..de579c9 100644 --- a/modules/services/webhook-datasource/versions.tf +++ b/modules/services/webhook-datasource/versions.tf @@ -8,7 +8,7 @@ terraform { } sysdig = { source = "sysdiglabs/sysdig" - version = "~> 1.19.0" + version = ">= 1.23.1" } random = { source = "hashicorp/random" diff --git a/test/examples/secure_config_posture_identity_access/organization/main.tf b/test/examples/secure_config_posture_identity_access/organization/main.tf index c80e69a..595cded 100644 --- a/test/examples/secure_config_posture_identity_access/organization/main.tf +++ b/test/examples/secure_config_posture_identity_access/organization/main.tf @@ -16,7 +16,7 @@ terraform { required_providers { sysdig = { source = "sysdiglabs/sysdig" - version = "~> 1.19.0" + version = ">= 1.23.1" } } } diff --git a/test/examples/secure_config_posture_identity_access/single/main.tf b/test/examples/secure_config_posture_identity_access/single/main.tf index c6a41b3..6bae3e1 100644 --- a/test/examples/secure_config_posture_identity_access/single/main.tf +++ b/test/examples/secure_config_posture_identity_access/single/main.tf @@ -14,7 +14,7 @@ terraform { required_providers { sysdig = { source = "sysdiglabs/sysdig" - version = "~> 1.19.0" + version = ">= 1.23.1" } } } diff --git a/test/examples/secure_threat_detection/organization/main.tf b/test/examples/secure_threat_detection/organization/main.tf index c21296d..0f41d23 100644 --- a/test/examples/secure_threat_detection/organization/main.tf +++ b/test/examples/secure_threat_detection/organization/main.tf @@ -25,7 +25,7 @@ terraform { required_providers { sysdig = { source = "sysdiglabs/sysdig" - version = "~> 1.19.0" + version = ">= 1.23.1" } } } diff --git a/test/examples/secure_threat_detection/single/main.tf b/test/examples/secure_threat_detection/single/main.tf index b5f5e73..56dd2bc 100644 --- a/test/examples/secure_threat_detection/single/main.tf +++ b/test/examples/secure_threat_detection/single/main.tf @@ -15,7 +15,7 @@ terraform { required_providers { sysdig = { source = "sysdiglabs/sysdig" - version = "~> 1.19.0" + version = ">= 1.23.1" } } } @@ -59,7 +59,7 @@ resource "sysdig_secure_cloud_auth_account" "gcp_project_mytestproject" { workload_identity_federation = { pool_id = module.single-project-threat-detection.workload_identity_pool_id pool_provider_id = module.single-project-threat-detection.workload_identity_pool_provider_id - project_number = module.single-project-threat-detection. workload_identity_project_number + project_number = module.single-project-threat-detection.workload_identity_project_number } email = module.single-project-threat-detection.service_account_email }