Skip to content

Commit

Permalink
Update templates.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjianli authored Jan 5, 2024
1 parent 62687c4 commit 0625d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates.tf
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ data "template_file" "datadog-agent" {
vars = {
region = var.aws_region
loggroup = var.wd_instance_type == "ecs" ? join("", aws_cloudwatch_log_group.waggledance_ecs.*.name) : ""
datadog_secret_key = local.datadog_keys.api_key != null ? local.datadog_keys.api_key : ""
datadog_secret_key = chomp(data.external.datadog_key[0].result["api_key"])
wd_instance_type = var.wd_instance_type
metrics_port = var.metrics_port
datadog_agent_version = var.datadog_agent_version
Expand Down

0 comments on commit 0625d11

Please sign in to comment.