Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yyu alert policy #53

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
1 change: 1 addition & 0 deletions modules/workbench/modules/reporting/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion modules/workbench/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}