diff --git a/modules/workbench/modules/monitoring/modules/alert_policies/main.tf b/modules/workbench/modules/monitoring/modules/alert_policies/main.tf index 0670bfa..1db8fe0 100644 --- a/modules/workbench/modules/monitoring/modules/alert_policies/main.tf +++ b/modules/workbench/modules/monitoring/modules/alert_policies/main.tf @@ -78,6 +78,12 @@ resource "google_monitoring_alert_policy" "policy" { } } user_labels = lookup(each.value, "userLabels", null) + alert_strategy { + notification_channel_strategy { + renotify_interval = "1d" + } + } + # Don't set notification if input is empty. notification_channels = var.notification_channel_id == "" ? null : each.value.notificationChannels } diff --git a/modules/workbench/modules/reporting/main.tf b/modules/workbench/modules/reporting/main.tf index b8edd9b..120a861 100644 --- a/modules/workbench/modules/reporting/main.tf +++ b/modules/workbench/modules/reporting/main.tf @@ -6,6 +6,7 @@ locals { # Values that don't ever change set for this dataset. TABLE_CONSTANTS = { time_partitioning = null + range_partitioning = null expiration_time = null clustering = [] labels = { @@ -86,7 +87,7 @@ locals { # All BigQuery assets for Reporting subsystem module "main" { source = "terraform-google-modules/bigquery/google" - version = "~> 4.3" + version = ">= 4.3" dataset_id = var.reporting_dataset_id project_id = var.project_id location = "US" diff --git a/modules/workbench/providers.tf b/modules/workbench/providers.tf index 7561dbb..4e1f14c 100644 --- a/modules/workbench/providers.tf +++ b/modules/workbench/providers.tf @@ -2,7 +2,7 @@ // Child modules receive their provider configurations from the root module. terraform { required_providers { - google = ">= 3.23.0" + google = ">= 4.7.1" } }