63 lines
1.4 KiB
HCL
Executable File
63 lines
1.4 KiB
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 = "standard"
|
|
}
|
|
|
|
variable "datadog_api_key" {
|
|
description = "The datadog API key"
|
|
type = string
|
|
}
|
|
|
|
variable "datadog_app_key" {
|
|
description = "The datadog APP key"
|
|
type = string
|
|
}
|
|
|
|
variable "api_url" {
|
|
description = "Which API to Connect to, we are using the EU one for GDPR compliance"
|
|
type = string
|
|
default = "https://api.datadoghq.eu"
|
|
}
|
|
|
|
variable "http_client_retry_enabled" {
|
|
description = "Enables Request retries on HTTP status codes 429 and 5xx"
|
|
type = bool
|
|
default = true
|
|
}
|
|
|
|
variable "http_client_retry_timeout" {
|
|
description = "Sets the number of HTTP request retry timeout period"
|
|
type = string
|
|
default = ""
|
|
}
|
|
|
|
variable "validate" {
|
|
description = "Validates the provided APP and API keys during provider initialization"
|
|
type = bool
|
|
default = true
|
|
}
|