Skip to content

Commit 1e0f7bc

Browse files
Artem Kajalainenhouqp
authored andcommitted
feat(log forwarding): support DdSite option + upgrade default CF template version used
1 parent d270fde commit 1e0f7bc

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

logs_monitoring.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ resource aws_cloudformation_stack "datadog-forwarder" {
55
DdApiKeySecretArn = aws_secretsmanager_secret.datadog_api_key.arn
66
DdApiKey = "dummy-value"
77
DdTags = "namespace:${var.namespace},env:${var.env}"
8+
DdSite = var.dd_forwarder_dd_site
89
ExcludeAtMatch = var.log_exclude_at_match
910
FunctionName = "${local.stack_prefix}datadog-forwarder"
1011
}

vars.tf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,13 @@ variable "log_exclude_at_match" {
6666
variable "dd_forwarder_template_version" {
6767
description = "Sets Datadog Forwarder version to use"
6868
type = string
69-
default = "3.13.0"
69+
default = "3.17.0"
70+
}
71+
72+
variable "dd_forwarder_dd_site" {
73+
type = string
74+
default = "datadoghq.com"
75+
description = "Define your Datadog Site to send data to. For the Datadog EU site, set to datadoghq.eu"
7076
}
7177

7278
variable "excluded_regions" {

0 commit comments

Comments
 (0)