50 lines
958 B
HCL
Executable File
50 lines
958 B
HCL
Executable File
variable "admin" {
|
|
description = "Boolean to set if user is an admin or not"
|
|
default = false
|
|
}
|
|
|
|
variable "name" {
|
|
description = "Name of the User"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "email" {
|
|
description = "Email address of the user"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "handle" {
|
|
description = "Handle of the user (usualy the email address)"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "roles" {
|
|
description = "Role can be ro normal and admin, default is normal"
|
|
type = string
|
|
default = "normal"
|
|
}
|
|
|
|
#variable "user" {
|
|
# description = "List of Datadog user maps to manage"
|
|
# type = map(string)
|
|
# default = {
|
|
# name = ""
|
|
# email = ""
|
|
# hanlde = ""
|
|
# role = ""
|
|
# }
|
|
#}
|
|
|
|
variable "datadog_api_key" {
|
|
description = "The datadog API key"
|
|
type = string
|
|
}
|
|
|
|
variable "datadog_app_key" {
|
|
description = "The datadog APP key"
|
|
type = string
|
|
}
|