Terraform module to configure Opsgenie Team
module "team" {
source = "git::https://github.com/cloudposse/terraform-opsgenie-incident-management.git//modules/team?ref=master"
team = {
name = module.label.id
description = "team-description"
}
}
module "ui_managed_team" {
source = "git::https://github.com/cloudposse/terraform-opsgenie-incident-management.git//modules/team?ref=master"
team = {
name = module.label.id
description = "team-description"
delete_default_resources = true
ignore_members = true
}
}
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)
Name | Default | Description | Required |
---|---|---|---|
team |
{} |
This variable is used to configure Opsgenie Team. | Yes |
Name | Description |
---|---|
team_name |
The name of the Opsgenie Team. |
team_id |
The ID of the Opsgenie Team. |