Skip to main content

service

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)
NameDefaultDescriptionRequired
service{}Opsgenie Service configurationYes

Outputs

NameDescription
service_idThe ID of the Opsgenie Service
service_nameThe name of the Opsgenie Service