Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

User

Terraform module to configure Opsgenie User

Usage

Create Opsgenie User example

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

  user = {
    username  = "[email protected]"
    full_name = "Opsgenie Test User"
    role      = "User"
    locale    = "en_US"
    timezone  = "America/New_York"
  }
}

Inputs

Note: user 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
user {} Opsgenie User configuration Yes

Outputs

Name Description
user_id The ID of the Opsgenie User
user_name The name of the Opsgenie User