From 0261a1360538f6bbad4c57c6d425d943ef4ed6b2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:44:13 -0800 Subject: [PATCH] fix(deps)!: Update dependency @google-cloud/bigquery to v7 (#183) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Peabody --- modules/bq-log-alerting/logging/cloud_function/package.json | 2 +- modules/bq-log-alerting/main.tf | 2 +- test/integration/bq-log-alerting/controls/gcp.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/bq-log-alerting/logging/cloud_function/package.json b/modules/bq-log-alerting/logging/cloud_function/package.json index 80915137..0ca9dada 100644 --- a/modules/bq-log-alerting/logging/cloud_function/package.json +++ b/modules/bq-log-alerting/logging/cloud_function/package.json @@ -1,6 +1,6 @@ { "dependencies": { - "@google-cloud/bigquery": "^6.0.0", + "@google-cloud/bigquery": "^7.0.0", "@google-cloud/security-center": ">=3.0.1", "crypto-js": "^4.2.0" } diff --git a/modules/bq-log-alerting/main.tf b/modules/bq-log-alerting/main.tf index b0f20977..3e2d17b2 100644 --- a/modules/bq-log-alerting/main.tf +++ b/modules/bq-log-alerting/main.tf @@ -92,7 +92,7 @@ module "bq-log-alerting" { function_entry_point = "cronPubSub" function_source_directory = "${path.module}/logging/cloud_function" function_name = "generate-alerts" - function_runtime = "nodejs10" + function_runtime = "nodejs14" function_service_account_email = google_service_account.gcf_service_account.email function_timeout_s = var.function_timeout function_available_memory_mb = var.function_memory diff --git a/test/integration/bq-log-alerting/controls/gcp.rb b/test/integration/bq-log-alerting/controls/gcp.rb index 80504d32..72eb57eb 100644 --- a/test/integration/bq-log-alerting/controls/gcp.rb +++ b/test/integration/bq-log-alerting/controls/gcp.rb @@ -72,7 +72,7 @@ its('description') { should eq 'read from BQ view to generate alerts' } its('timeout') { should eq '540s' } its('available_memory_mb') { should eq 256 } - its('runtime') { should eq 'nodejs10' } + its('runtime') { should eq 'nodejs14' } its('environment_variables') { should include( 'CSCC_SOURCE' => source_name,