From 59385cbb490fe93c4071924038499ffe1c7655b8 Mon Sep 17 00:00:00 2001 From: Ben Larabie Date: Mon, 16 Dec 2024 09:34:24 -0500 Subject: [PATCH] ingest --- aws/common/newrelic.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/common/newrelic.tf b/aws/common/newrelic.tf index 8781e4396..00a8d909c 100644 --- a/aws/common/newrelic.tf +++ b/aws/common/newrelic.tf @@ -90,7 +90,7 @@ resource "newrelic_cloud_aws_link_account" "newrelic_cloud_integration_push" { resource "newrelic_api_access_key" "newrelic_aws_access_key" { count = var.enable_new_relic && var.env != "production" ? 1 : 0 account_id = var.new_relic_account_id - key_type = "USER" + key_type = var.env == "staging" ? "USER" : "INGEST" name = var.env == "staging" ? "notify_tf_provider" : "notify_tf_provider_${var.env}" notes = "Used by Notify Terraform Code to create New Relic Resources" }