diff --git a/modules/workbench/modules/monitoring/modules/alert_policies/main.tf b/modules/workbench/modules/monitoring/modules/alert_policies/main.tf index 0670bfa..eae2040 100644 --- a/modules/workbench/modules/monitoring/modules/alert_policies/main.tf +++ b/modules/workbench/modules/monitoring/modules/alert_policies/main.tf @@ -80,4 +80,10 @@ resource "google_monitoring_alert_policy" "policy" { user_labels = lookup(each.value, "userLabels", null) # Don't set notification if input is empty. notification_channels = var.notification_channel_id == "" ? null : each.value.notificationChannels + + alert_strategy { + notification_channel_strategy { + renotify_interval = "1d" + } + } } diff --git a/modules/workbench/modules/reporting/main.tf b/modules/workbench/modules/reporting/main.tf index eba060b..cb20b70 100644 --- a/modules/workbench/modules/reporting/main.tf +++ b/modules/workbench/modules/reporting/main.tf @@ -29,6 +29,7 @@ locals { # to refer to other values in the same object when defining it. table_id = replace(basename(full_path), local.TABLE_SCHEMA_SUFFIX, "") range_partitioning = null + deletion_protection = true }] # Merge calculated inputs with the ones we use every time. diff --git a/modules/workbench/outputs.tf b/modules/workbench/outputs.tf index 7a7db8f..8a7f5ff 100644 --- a/modules/workbench/outputs.tf +++ b/modules/workbench/outputs.tf @@ -12,6 +12,6 @@ output "table_names" { output "docker_repo_name" { description = "Remote docker GAR repo name" - value = module.repository.docker_repo_name + value = module.artifact_registry.docker_repo_name }