add slack to notifications and update alert definitions after upgrade [ci skip]

This commit is contained in:
viktorbarzin 2022-01-06 20:09:20 +00:00
parent 6870cee492
commit 0b20fc1e73
No known key found for this signature in database
GPG key ID: 0EB088298288D958
6 changed files with 18 additions and 8 deletions

View file

@ -32,6 +32,7 @@ variable "webhook_handler_git_token" {}
variable "webhook_handler_ssh_key" {}
variable "idrac_username" {}
variable "idrac_password" {}
variable "alertmanager_slack_api_url" {}
resource "null_resource" "core_services" {
# List all the core modules that must be provisioned first
@ -143,6 +144,7 @@ module "monitoring" {
alertmanager_account_password = var.alertmanager_account_password
idrac_username = var.idrac_username
idrac_password = var.idrac_password
alertmanager_slack_api_url = var.alertmanager_slack_api_url
depends_on = [null_resource.core_services]
}