We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5844f22 + d56e674 commit cf4adc5Copy full SHA for cf4adc5
variables.tf
@@ -156,7 +156,7 @@ variable "monitoring_notification_channel" {
156
type = string
157
default = "@slack-TFH-infrastructure-alerts"
158
validation {
159
- condition = can(regex("^@slack-[A-Za-z0-9\\-]+$", var.monitoring_notification_channel))
+ condition = can(regex("^@(?:slack|webhook)-[A-Za-z0-9\\-]+$", var.monitoring_notification_channel))
160
error_message = "Invalid notification channel"
161
}
162
0 commit comments