Difference between revisions of "Import opsgenie"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
 
  [[opsgenie.send_recovery]]
 
  [[opsgenie.send_recovery]]
  
 +
=== Install the Opsgenie Provider in Terraform ===
 
  terraform {
 
  terraform {
 
   required_providers {
 
   required_providers {

Revision as of 09:20, 1 October 2024

opsgenie.create_alert
opsgenie.send_recovery

Install the Opsgenie Provider in Terraform

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: