Skip to content

Commit

Permalink
chore(Terraform): remove Slack alert setup - REVERT ME
Browse files Browse the repository at this point in the history
Running into permissions issues creating the Secret.
  • Loading branch information
afeld committed Oct 27, 2022
1 parent cc9d710 commit e259b1f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions terraform/monitor.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,11 @@ resource "azurerm_application_insights" "main" {
}
}

data "azurerm_key_vault_secret" "slack_benefits_notify_email" {
name = "slack-benefits-notify-email"
key_vault_id = azurerm_key_vault.main.id
}

resource "azurerm_monitor_action_group" "eng_email" {
name = "benefits-notify Slack channel email"
resource_group_name = data.azurerm_resource_group.main.name
short_name = "slack-notify"

email_receiver {
name = "Benefits engineering team"
email_address = data.azurerm_key_vault_secret.slack_benefits_notify_email.value
}

lifecycle {
ignore_changes = [tags]
}
Expand Down

0 comments on commit e259b1f

Please sign in to comment.