diff --git a/.gitignore b/.gitignore index 086253b..a34147e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Ignore all volatile files **/.terraform/modules +**/.terraform/plugins **/terraform.tfstate*.backup # Ignore all credentials files diff --git a/common/alerting-message/inputs.tf b/common/alerting-message/inputs.tf new file mode 100644 index 0000000..c819f96 --- /dev/null +++ b/common/alerting-message/inputs.tf @@ -0,0 +1,7 @@ +variable "oncall_24x7" { + type = "string" +} + +variable "oncall_office_hours" { + type = "string" +} diff --git a/common/alerting-message/main.tf b/common/alerting-message/main.tf new file mode 100644 index 0000000..abb3cc3 --- /dev/null +++ b/common/alerting-message/main.tf @@ -0,0 +1,13 @@ +data "template_file" "alerting-message" { + template = <