File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -40,13 +40,14 @@ resource "azurerm_monitor_diagnostic_setting" "this" {
40
40
41
41
locals {
42
42
app_settings = {
43
- WEBSITES_ENABLE_APP_SERVICE_STORAGE = " true"
44
- WEBSITE_ENABLE_SYNC_UPDATE_SITE = " true"
45
- JAVA_OPTS = " -Dlog4j2.formatMsgNoLookups=true"
46
- LOG4J_FORMAT_MSG_NO_LOOKUPS = " true"
47
- WEBSITE_USE_PLACEHOLDER = " 0"
48
- AZURE_LOG_LEVEL = " info"
49
- APPINSIGHTS_INSTRUMENTATIONKEY = var.enable_appinsights ? azurerm_application_insights.this[0 ].instrumentation_key : " "
43
+ WEBSITES_ENABLE_APP_SERVICE_STORAGE = " true"
44
+ WEBSITE_ENABLE_SYNC_UPDATE_SITE = " true"
45
+ JAVA_OPTS = " -Dlog4j2.formatMsgNoLookups=true"
46
+ LOG4J_FORMAT_MSG_NO_LOOKUPS = " true"
47
+ WEBSITE_USE_PLACEHOLDER = " 0"
48
+ AZURE_LOG_LEVEL = " info"
49
+ APPINSIGHTS_INSTRUMENTATIONKEY = var.enable_appinsights ? azurerm_application_insights.this[0 ].instrumentation_key : null
50
+ ApplicationInsightsAgent_EXTENSION_VERSION = var.enable_appinsights && var.application_type == " java" ? " ~3" : null
50
51
}
51
52
application_stack_struct = {
52
53
docker_image = null
You can’t perform that action at this time.
0 commit comments