Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.66 KB

File metadata and controls

42 lines (30 loc) · 1.66 KB

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