diff --git a/infrastructure/terraform/modules/activation/main.tf b/infrastructure/terraform/modules/activation/main.tf index 1bf35a9d..85bff57c 100644 --- a/infrastructure/terraform/modules/activation/main.tf +++ b/infrastructure/terraform/modules/activation/main.tf @@ -351,7 +351,7 @@ resource "null_resource" "check_cloudkms_api" { module "bigquery" { source = "terraform-google-modules/bigquery/google" - version = "8.1.0" + version = "9.0.0" dataset_id = local.app_prefix dataset_name = local.app_prefix @@ -407,7 +407,7 @@ resource "google_artifact_registry_repository" "activation_repository" { module "pipeline_service_account" { source = "terraform-google-modules/service-accounts/google" - version = "4.4.0" + version = "4.4.2" project_id = null_resource.check_dataflow_api.id != "" ? module.project_services.project_id : var.project_id prefix = local.app_prefix names = [local.pipeline_service_account_name] @@ -424,7 +424,7 @@ module "pipeline_service_account" { module "trigger_function_account" { source = "terraform-google-modules/service-accounts/google" - version = "4.4.0" + version = "4.4.2" project_id = null_resource.check_pubsub_api.id != "" ? module.project_services.project_id : var.project_id prefix = local.app_prefix names = [local.trigger_function_account_name] @@ -527,7 +527,7 @@ resource "google_kms_key_ring_iam_policy" "key_ring" { # This module stores the values ga4-measurement-id and ga4-measurement-secret in Google Cloud Secret Manager. module "secret_manager" { source = "GoogleCloudPlatform/secret-manager/google" - version = "0.4.0" + version = "0.5.0" project_id = google_kms_crypto_key_iam_policy.crypto_key.etag != "" && google_kms_key_ring_iam_policy.key_ring.etag != "" ? module.project_services.project_id : var.project_id secrets = [ { @@ -575,7 +575,7 @@ module "secret_manager" { # This module creates a Cloud Storage bucket to be used by the Activation Application module "pipeline_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "6.1.0" + version = "8.0.2" project_id = null_resource.check_dataflow_api.id != "" ? module.project_services.project_id : var.project_id name = "${local.app_prefix}-app-${module.project_services.project_id}" location = var.location @@ -661,7 +661,7 @@ data "google_project" "project" { # This module creates a Cloud Storage bucket to be used by the Cloud Build Log Bucket module "build_logs_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "6.1.0" + version = "8.0.2" project_id = null_resource.check_cloudbuild_api != "" ? module.project_services.project_id : var.project_id name = "${local.app_prefix}-logs-${module.project_services.project_id}" location = var.location @@ -875,7 +875,7 @@ data "archive_file" "activation_trigger_source" { # This module creates a Cloud Sorage bucket and sets the trigger_function_account_email as the admin. module "function_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "6.1.0" + version = "8.0.2" project_id = null_resource.check_cloudfunctions_api.id != "" ? module.project_services.project_id : var.project_id name = "${local.app_prefix}-trigger-${module.project_services.project_id}" location = var.location diff --git a/infrastructure/terraform/modules/feature-store/bigquery-datasets.tf b/infrastructure/terraform/modules/feature-store/bigquery-datasets.tf index d7b08539..98264bde 100644 --- a/infrastructure/terraform/modules/feature-store/bigquery-datasets.tf +++ b/infrastructure/terraform/modules/feature-store/bigquery-datasets.tf @@ -200,7 +200,7 @@ locals { module "aggregated_vbb" { source = "terraform-google-modules/bigquery/google" - version = "8.1.0" + version = "9.0.0" dataset_id = local.config_bigquery.dataset.aggregated_vbb.name dataset_name = local.config_bigquery.dataset.aggregated_vbb.friendly_name @@ -236,7 +236,7 @@ module "aggregated_vbb" { # the aggregated predictions generated by the predictions pipelines. module "aggregated_predictions" { source = "terraform-google-modules/bigquery/google" - version = "8.1.0" + version = "9.0.0" dataset_id = local.config_bigquery.dataset.aggregated_predictions.name dataset_name = local.config_bigquery.dataset.aggregated_predictions.friendly_name @@ -291,7 +291,7 @@ locals { module "gemini_insights" { source = "terraform-google-modules/bigquery/google" - version = "8.1.0" + version = "9.0.0" dataset_id = local.config_bigquery.dataset.gemini_insights.name dataset_name = local.config_bigquery.dataset.gemini_insights.friendly_name diff --git a/infrastructure/terraform/modules/monitor/main.tf b/infrastructure/terraform/modules/monitor/main.tf index ae94c891..8637fc08 100644 --- a/infrastructure/terraform/modules/monitor/main.tf +++ b/infrastructure/terraform/modules/monitor/main.tf @@ -72,7 +72,7 @@ resource "null_resource" "check_bigquery_api" { module "dashboard_bigquery" { source = "terraform-google-modules/bigquery/google" - version = "8.1.0" + version = "9.0.0" dataset_id = local.dashboard_dataset_name dataset_name = local.dashboard_dataset_name @@ -95,7 +95,7 @@ module "dashboard_bigquery" { module "load_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "6.1.0" + version = "8.0.2" project_id = module.project_services.project_id name = "maj-monitor-${module.project_services.project_id}" location = var.location @@ -163,7 +163,7 @@ locals { module "log_export_bigquery" { source = "terraform-google-modules/bigquery/google" - version = "8.1.0" + version = "9.0.0" dataset_id = local.log_dataset_name dataset_name = local.log_dataset_name