58 lines
1.4 KiB
HCL
Executable File

variable "region" {
type = string
description = "The AWS region that the resources to be monitored reside in"
}
variable "api_key" {
type = string
description = "The api_key that is used to send logs, metrics and traces to the datadog account"
}
variable "app_key" {
type = string
description = "The app_key that is used to manipulate the datadog API"
}
variable "datadog_site" {
type = string
description = "Datadog site to connect to (EU or US)"
default = "https://api.datadoghq.eu/"
}
variable "aws_profile" {
type = string
description = "Which AWS account is this for"
}
variable "aws_accounts" {
description = "Map of AWS accounts to configuration."
type = map
default = {
vnn-bingel-prd = {
aws_account_id = "",
namespace = "datadog",
environment = "prd",
prefix_slug = "vnn",
region = "eu-west-1",
team = "bingel"
},
vnn-dbw-prd = {
aws_account_id = "",
namespace = "datadog",
environment = "prd",
prefix_slug = "vnn",
region = "eu-west-1",
team = "dbw"
}
mbg-sesame-prd = {
aws_account_id = "",
namespace = "datadog",
environment = "prd",
prefix_slug = "mbg",
region = "eu-west-1",
team = "sesame"
}
}
}