From 5dc7a7518e6b4332a082b3b34d7c88d912eb8847 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Respaut?= Date: Mon, 6 Nov 2017 10:20:10 +0100 Subject: [PATCH] MON-82: Add some variable to be able to surround text message --- common/alerting-message/inputs.tf | 10 ++++++++++ common/alerting-message/main.tf | 2 ++ 2 files changed, 12 insertions(+) diff --git a/common/alerting-message/inputs.tf b/common/alerting-message/inputs.tf index c819f96..f20bef7 100644 --- a/common/alerting-message/inputs.tf +++ b/common/alerting-message/inputs.tf @@ -5,3 +5,13 @@ variable "oncall_24x7" { variable "oncall_office_hours" { type = "string" } + +variable "prepend_text" { + type = "string" + default = "" +} + +variable "append_text" { + type = "string" + default = "" +} diff --git a/common/alerting-message/main.tf b/common/alerting-message/main.tf index abb3cc3..3b3c84b 100644 --- a/common/alerting-message/main.tf +++ b/common/alerting-message/main.tf @@ -1,9 +1,11 @@ data "template_file" "alerting-message" { template = <