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.

team

Team

Terraform module to configure Opsgenie Team

Usage

Create Opsgenie Team example

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

team = {
name = module.label.id
description = "team-description"
}
}

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

team = {
name = module.label.id
description = "team-description"
delete_default_resources = true
ignore_members = true
}
}

Inputs

Note: team 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
team{}This variable is used to configure Opsgenie Team.Yes

Outputs

NameDescription
team_nameThe name of the Opsgenie Team.
team_idThe ID of the Opsgenie Team.