Skip to content

Commit

Permalink
removed condition from datadog key
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Jan 4, 2024
1 parent 7113ece commit 18c72cf
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 @@ -197,7 +197,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 = jsondecode(data.aws_secretsmanager_secret_version.datadog_key[0].secret_string).api_key
datadog_secret_key = jsondecode(data.aws_secretsmanager_secret_version.datadog_key.secret_string).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 18c72cf

Please sign in to comment.