Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Added missing env variables in main.bicep for function app #1147

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,8 @@ module function './app/function.bicep' = if (hostingModel == 'code') {
DOCUMENT_PROCESSING_QUEUE_NAME: queueName
ORCHESTRATION_STRATEGY: orchestrationStrategy
LOGLEVEL: logLevel
AZURE_OPENAI_SYSTEM_MESSAGE: azureOpenAISystemMessage
AZURE_SEARCH_TOP_K: azureSearchTopK
}
}
}
Expand Down Expand Up @@ -949,6 +951,8 @@ module function_docker './app/function.bicep' = if (hostingModel == 'container')
DOCUMENT_PROCESSING_QUEUE_NAME: queueName
ORCHESTRATION_STRATEGY: orchestrationStrategy
LOGLEVEL: logLevel
AZURE_OPENAI_SYSTEM_MESSAGE: azureOpenAISystemMessage
AZURE_SEARCH_TOP_K: azureSearchTopK
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"_generator": {
"name": "bicep",
"version": "0.28.1.47646",
"templateHash": "10368627789026861374"
"templateHash": "10957511334188011911"
}
},
"parameters": {
Expand Down Expand Up @@ -7609,7 +7609,9 @@
"USE_ADVANCED_IMAGE_PROCESSING": "[parameters('useAdvancedImageProcessing')]",
"DOCUMENT_PROCESSING_QUEUE_NAME": "[variables('queueName')]",
"ORCHESTRATION_STRATEGY": "[parameters('orchestrationStrategy')]",
"LOGLEVEL": "[parameters('logLevel')]"
"LOGLEVEL": "[parameters('logLevel')]",
"AZURE_OPENAI_SYSTEM_MESSAGE": "[parameters('azureOpenAISystemMessage')]",
"AZURE_SEARCH_TOP_K": "[parameters('azureSearchTopK')]"
}
}
},
Expand Down Expand Up @@ -8848,7 +8850,9 @@
"USE_ADVANCED_IMAGE_PROCESSING": "[parameters('useAdvancedImageProcessing')]",
"DOCUMENT_PROCESSING_QUEUE_NAME": "[variables('queueName')]",
"ORCHESTRATION_STRATEGY": "[parameters('orchestrationStrategy')]",
"LOGLEVEL": "[parameters('logLevel')]"
"LOGLEVEL": "[parameters('logLevel')]",
"AZURE_OPENAI_SYSTEM_MESSAGE": "[parameters('azureOpenAISystemMessage')]",
"AZURE_SEARCH_TOP_K": "[parameters('azureSearchTopK')]"
}
}
},
Expand Down
Loading