Skip to content

Commit

Permalink
Enabling new relic metrics stream (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben851 committed Sep 16, 2024
1 parent a7dcd83 commit d2bb74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aws/newrelic/aws_integration.tf
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ EOF

resource "aws_cloudwatch_metric_stream" "newrelic_metric_stream" {
# Disabled for now
count = 0
count = var.enable_new_relic && var.env == "staging" ? 1 : 0
name = "newrelic-metric-stream-${var.env}"
role_arn = aws_iam_role.metric_stream_to_firehose[0].arn
firehose_arn = aws_kinesis_firehose_delivery_stream.newrelic_firehose_stream[0].arn
Expand Down

0 comments on commit d2bb74d

Please sign in to comment.