Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Service

Terraform module to configure Opsgenie Service

Usage

module "service" {
  source  = "cloudposse/incident-management/opsgenie//modules/service"
  # Cloud Posse recommends pinning every module to a specific version
  # version     = "x.x.x"

  service = {
      name        = "frontend"
      team_id     = "..."
      description = "My company frontend service"
  }
}

Inputs

Note: service is a map for two reasons:

  • to be able to put whole configuration in yaml file
  • variables defined with type set are not robust enough (can't set default values)
Name Default Description Required
service {} Opsgenie Service configuration Yes

Outputs

Name Description
service_id The ID of the Opsgenie Service
service_name The name of the Opsgenie Service