I am trying to import Azure function into terraform management. I have created the configuration the resource and it is showing no different, but still it is showing “updaated in-place” when run plan. I don’t want to update. How to make sure there is no difference.
# azurerm_windows_function_app.function_app will be updated in-place
~ resource "azurerm_function_app" "function_app" {
id = "/subscriptions/0000934-ca1a-0000-80b1-434e0b000014/resourceGroups/rg-abc-harnoor-dev2/providers/Microsoft.Web/sites/abc-azfunctions-app-dev2"
name = "abc-azfunctions-app-dev2"
tags = {
"hidden-link: /app-insights-conn-string" = "InstrumentationKey=e06e7dfb-0000-453a-0000-d9a6da30fef6;IngestionEndpoint=https://westus-5.in.applicationinsights.azure.com/;LiveEndpoint=https://westus.livediagnostics.monitor.azure.com/"
"hidden-link: /app-insights-instrumentation-key" = "e06e7dfb-0000-453a-0000-d9a6da30fef6"
"hidden-link: /app-insights-resource-id" = "/subscriptions/0000934-ca1a-0000-80b1-434e0b000014/resourceGroups/rg-abc-harnoor-dev2/providers/microsoft.insights/components/abc-appinsights-dev2"
}
# (18 unchanged attributes hidden)
# (5 unchanged blocks hidden)
}```
Plan: 0 to add, 1 to change, 0 to destroy.