page_title | subcategory | description |
---|---|---|
sigsci_site_alert Resource - terraform-provider-sigsci |
resource "sigsci_site_alert" "test" {
site_short_name = sigsci_site.my-site.short_name
tag_name = sigsci_site_signal_tag.test_tag.id
long_name = "test_alert"
interval = 10
threshold = 12
enabled = true
action = "info"
skip_notifications = true
block_duration_seconds = 3600
}
action
(String) A flag that describes what happens when the alert is triggered. 'info' creates an incident in the dashboard. 'flagged' creates an incident and blocks traffic for 24 hours. Must be info or flagged.interval
(Number) The number of minutes of past traffic to examine. Must be 1, 10 or 60.site_short_name
(String) Site short nametag_name
(String) The name of the tag whose occurrences the alert is watching. Must match an existing tagthreshold
(Number) The number of occurrences of the tag in the interval needed to trigger the alert. Min 1, Max 10000
block_duration_seconds
(Number) The number of seconds this alert is active.enabled
(Boolean) A flag to toggle this alert.long_name
(String) descriptionskip_notifications
(Boolean) A flag to skip notifications
id
(String) The ID of this resource.
Import is supported using the following syntax:
terraform import sigsci_site_alert.test site_short_name:id