File tree Expand file tree Collapse file tree
template_generators/terraform/tfvars Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33grafana_connection = {
44 " url" = " http://localhost:8080" ,
55 " auth" = " "
6- }
6+ }
7+
78
89
910# Grafana_Contact_Point Variables
1011create_contact_point = true
1112contact_point_name = " My Contact Point"
12- use_email = true
13+ use_email = false
1314use_slack = true
1415email_contact_point = {
1516 addresses = [" one@company.org" , " two@company.org" ]
1617 message = " { len .Alerts.Firing } firing."
17- subject = " {{ template " default.title" .}}"
18+ subject = " {{ template \ " default.title\ " .}}"
1819 single_email = true
1920 disable_resolve_message = false
2021}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def grafana_tfvars(input):
6464}
6565
6666 """
67- subject = "{{ template \" default.title\" .}}"
67+ subject = "{{ template \\ \ " default.title\\ \" .}}"
6868 message_template_content = """<<EOT
6969{{ define "Alert Instance Template" }}
7070Firing: {{ .Labels.alertname }}
@@ -81,7 +81,8 @@ def grafana_tfvars(input):
8181# Grafana_Contact_Point Variables
8282create_contact_point = false
8383contact_point_name = "My Contact Point"
84-
84+ use_email = false
85+ use_slack = false
8586email_contact_point = {{
8687 addresses = ["one@company.org", "two@company.org"]
8788 message = "{{ len .Alerts.Firing }} firing."
You can’t perform that action at this time.
0 commit comments