Skip to content

Commit 2e8dd7c

Browse files
authored
datadog-agent bugfixes (cloudposse/terraform-aws-components#681)
1 parent b5d8b7c commit 2e8dd7c

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ components:
2424
create_namespace: true
2525
repository: "https://helm.datadoghq.com"
2626
chart: "datadog"
27-
chart_version: "3.0.3"
27+
chart_version: "3.29.2"
2828
timeout: 1200
2929
wait: true
3030
atomic: true

src/main.tf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ locals {
88

99
# combine context tags with passed in datadog_tags
1010
# skip name since that won't be relevant for each metric
11-
datadog_tags = toset(distinct(concat([for k, v in module.this.tags : "${lower(k)}:${v}" if lower(k) != "name"], tolist(var.datadog_tags))))
11+
datadog_tags = toset(distinct(concat([
12+
for k, v in module.this.tags : "${lower(k)}:${v}" if lower(k) != "name"
13+
], tolist(var.datadog_tags))))
1214

1315
cluster_checks_enabled = local.enabled && var.cluster_checks_enabled
1416

@@ -66,10 +68,7 @@ locals {
6668
}
6769

6870
module "datadog_configuration" {
69-
source = "../../datadog-configuration/modules/datadog_keys"
70-
71-
global_environment_name = null
72-
71+
source = "../../datadog-configuration/modules/datadog_keys"
7372
context = module.this.context
7473
}
7574

0 commit comments

Comments
 (0)