Skip to content

devops-workflow/terraform-datadog-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI

terraform-datadog-users

Terraform module for managing Datadog users

module "datadog-users" {
  source  = "devops-workflow/users/datadog"
  version = "1.0.0"

  users = [
    {
      name   = "user1"
      handle = "[email protected]"
    },
    {
      name     = "admin1"
      handle   = "[email protected]"
      admin    = "true"
      disabled = "false"
    },
    {
      name     = "dis1"
      handle   = "[email protected]"
      email    = "[email protected]"
      disabled = "true"
      role     = "ro"
    },
  ]
}

User data structure is a list of maps.

User field mappings

User Field Default Datadog Provider Field Description
admin false is_admin Make user an admin?
disabled false disabled Disable user
email handle email User email. Needed when user's email changed after account creation. Will default to handle if not provided
handle REQUIRED handle email handle of user
name REQUIRED name User name
role st role User role. Options are st standard, adm admin, ro read-only