64 lines
1.4 KiB
HCL
64 lines
1.4 KiB
HCL
variable "enabled" {
|
|
description = "Set to false to prevent the module from creating anything"
|
|
default = true
|
|
}
|
|
|
|
variable "users" {
|
|
description = "List of Datadog user maps to manage"
|
|
type = list(string)
|
|
|
|
# users = [
|
|
# {
|
|
# name = "user1"
|
|
# handle = "user1@example.com"
|
|
# },
|
|
# {
|
|
# name = "admin1"
|
|
# handle = "admin1@example.com"
|
|
# admin = "true"
|
|
# disabled = "false"
|
|
# },
|
|
# {
|
|
# name = "dis1"
|
|
# handle = "dis1@example.com"
|
|
# email = "disy1@example.com"
|
|
# disabled = "true"
|
|
# role = "ro"
|
|
# },
|
|
# ]
|
|
}
|
|
|
|
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
|
|
#}
|