Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from drubin/patch-1
Browse files Browse the repository at this point in the history
Fix alert contact value
  • Loading branch information
louy authored Aug 26, 2018
2 parents 98da60f + e7fe5bd commit 0950984
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,20 @@ provider "uptimerobot" {
resource "uptimerobot_alert_contact" "slack" {
friendly_name = "Slack Alert"
type = "slack"
webhook_url = "https://hooks.slack.com/services/XXXXXXX"
value = "https://hooks.slack.com/services/XXXXXXX"
}
resource "uptimerobot_monitor" "main" {
friendly_name = "My Monitor"
type = "http"
url = "http://example.com"
# pro allows 60 seconds
interval = 300
alert_contact {
id = "${resource.uptimerobot_alert_contact.slack.id}"
# threshold = 0
# recurrence = 0
# threshold = 0 # pro only
# recurrence = 0 # pro only
}
}
Expand Down

0 comments on commit 0950984

Please sign in to comment.