Application Insight Instrumentation key reset in Terraform?

Deshmukh, Vijit 516 Reputation points
2024-08-07T09:54:15.64+00:00

Hi team,

while deploying the Azure function through the terraform every time we are seeing that app instrumentation key, resource ID are setting as Null.

Please let us know on this, below is the output of the terraform:

~ tags = {

"entity" = "backend"

"env" = "prod"

  • "hidden-link: /app-insights-conn-string" = "InstrumentationKey=6c1xxx-xxxx-xx10c3daae3335;IngestionEndpoint=https://eastxxx.in.applicationinsights.azure.com/;LiveEndpoint=https://eaxxx.livediagnostics.monitor.azure.com/;ApplicationId=91b15axxxxxxxxxxxxxxxxx -> null
  • "hidden-link: /app-insights-instrumentation-key" = "6c19xxxxxxxxxxe3335" -> null
  • "hidden-link: /app-insights-resource-id" = "/subscriptions/a9xxxxxxxxxxxx5-8bcb-6713f1feb30c/resourceGroups/rg-xxxx-prod/providers/microsoft.insights/components/axxxx-od-app-insights" -> null

"proj" = "axx-xxify"

}

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,580 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.