diff --git a/infrastructure/terraform/main.tf b/infrastructure/terraform/main.tf index 8ac99a5d..6159682b 100644 --- a/infrastructure/terraform/main.tf +++ b/infrastructure/terraform/main.tf @@ -188,7 +188,7 @@ resource "null_resource" "generate_sql_queries" { module "initial_project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = false disable_services_on_destroy = false diff --git a/infrastructure/terraform/modules/activation/main.tf b/infrastructure/terraform/modules/activation/main.tf index 1bf35a9d..769e49d8 100644 --- a/infrastructure/terraform/modules/activation/main.tf +++ b/infrastructure/terraform/modules/activation/main.tf @@ -78,7 +78,7 @@ data "google_project" "activation_project" { module "project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = false disable_services_on_destroy = false @@ -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.3" 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.3" 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.1" 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 = "9.0.0" 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 = "9.0.0" 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 = "9.0.0" 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/data-store/data-processing-services.tf b/infrastructure/terraform/modules/data-store/data-processing-services.tf index 86f80a29..ab7c0e62 100644 --- a/infrastructure/terraform/modules/data-store/data-processing-services.tf +++ b/infrastructure/terraform/modules/data-store/data-processing-services.tf @@ -16,7 +16,7 @@ # https://registry.terraform.io/modules/terraform-google-modules/project-factory/google/latest/submodules/project_services module "data_processing_project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = false disable_services_on_destroy = false diff --git a/infrastructure/terraform/modules/dataform-workflow/services.tf b/infrastructure/terraform/modules/dataform-workflow/services.tf index c78dc529..724c26c6 100644 --- a/infrastructure/terraform/modules/dataform-workflow/services.tf +++ b/infrastructure/terraform/modules/dataform-workflow/services.tf @@ -15,7 +15,7 @@ # https://registry.terraform.io/modules/terraform-google-modules/project-factory/google/latest/submodules/project_services module "data_processing_project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = false disable_services_on_destroy = false 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/feature-store/main.tf b/infrastructure/terraform/modules/feature-store/main.tf index 296d812f..7e014732 100644 --- a/infrastructure/terraform/modules/feature-store/main.tf +++ b/infrastructure/terraform/modules/feature-store/main.tf @@ -34,7 +34,7 @@ locals { module "project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = true disable_services_on_destroy = false diff --git a/infrastructure/terraform/modules/monitor/main.tf b/infrastructure/terraform/modules/monitor/main.tf index 4129828b..90c54751 100644 --- a/infrastructure/terraform/modules/monitor/main.tf +++ b/infrastructure/terraform/modules/monitor/main.tf @@ -34,7 +34,7 @@ locals { module "project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = false disable_services_on_destroy = false @@ -74,7 +74,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 @@ -97,7 +97,7 @@ module "dashboard_bigquery" { module "load_bucket" { source = "terraform-google-modules/cloud-storage/google//modules/simple_bucket" - version = "6.1.0" + version = "9.0.0" project_id = module.project_services.project_id name = "maj-monitor-${module.project_services.project_id}" location = var.location @@ -165,7 +165,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 diff --git a/infrastructure/terraform/modules/pipelines/main.tf b/infrastructure/terraform/modules/pipelines/main.tf index 86d363d7..6ed17cfc 100644 --- a/infrastructure/terraform/modules/pipelines/main.tf +++ b/infrastructure/terraform/modules/pipelines/main.tf @@ -35,7 +35,7 @@ locals { module "project_services" { source = "terraform-google-modules/project-factory/google//modules/project_services" - version = "17.0.0" + version = "17.1.0" disable_dependent_services = true disable_services_on_destroy = false