datadog

The datadog connection can be used to access Datadog resources.

connection "datadog" "my_datadog_connection" {
api_key = "b1cf234................."
app_key = "1a2345bc..................."
api_url = "https://api.adoghq.com/"
}

Arguments

NameTypeRequired?Description
api_keyStringOptionalAPI key
app_keyStringOptionalApplication key
api_urlStringOptionalAPI URL

All arguments are optional, and a datadog connection with no arguments will behave the same as the default connection.

Default Connection

The datadog connection type includes an implicit, default connection (connection.datadog.default) that will be configured using the environment variables DD_CLIENT_API_KEY, and DD_CLIENT_APP_KEY.

connection "datadog" "my_datadog_connection" {
api_key = env("DD_CLIENT_API_KEY")
app_key = env("DD_CLIENT_APP_KEY")
}