Difference between revisions of "Import opsgenie"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[opsgenie.]]create_alert | [[opsgenie.]]create_alert | ||
[[opsgenie.send_recovery]] | [[opsgenie.send_recovery]] | ||
+ | |||
+ | terraform { | ||
+ | required_providers { | ||
+ | opsgenie = { | ||
+ | source = "opsgenie/opsgenie" | ||
+ | version = "0.5.0" # or the latest version | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | provider "opsgenie" { | ||
+ | api_key = var.opsgenie_api_key # Replace with your API key or use a secret variable | ||
+ | } | ||
+ | |||
Revision as of 09:19, 1 October 2024
opsgenie.create_alert opsgenie.send_recovery
terraform { required_providers { opsgenie = { source = "opsgenie/opsgenie" version = "0.5.0" # or the latest version } } } provider "opsgenie" { api_key = var.opsgenie_api_key # Replace with your API key or use a secret variable }
Related
See also
Advertising: