Skip to content

Commit

Permalink
Merge pull request #133 from ExpediaGroup/feature/remove_condition
Browse files Browse the repository at this point in the history
Removed the check
  • Loading branch information
githubjianli authored Jan 5, 2024
2 parents 4d5abb5 + a1d9e79 commit f1cfed4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion common.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ data "aws_secretsmanager_secret_version" "datadog_key" {
}

provider "datadog" {
count = length(var.datadog_key_secret_name) == 0 ? 0 : 1
api_key = length(data.aws_secretsmanager_secret_version.datadog_key) > 0 ? jsondecode(data.aws_secretsmanager_secret_version.datadog_key[0].secret_string).api_key : ""
app_key = length(data.aws_secretsmanager_secret_version.datadog_key) > 0 ? jsondecode(data.aws_secretsmanager_secret_version.datadog_key[0].secret_string).app_key : ""
}
Expand Down

0 comments on commit f1cfed4

Please sign in to comment.