Skip to main content
Latest Documentation
This is the latest documentation for the Cloud Posse Reference Architecture. To determine which version you're currently using, please see Version Identification.

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