Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

ops: Make sure storage account is in lower cases

Clémence Lesné3cb80c25b16d
diff --git a/bicep/app.bicep b/bicep/app.bicep
index c33779a..33f4c23 100644
--- a/bicep/app.bicep
+++ b/bicep/app.bicep
@@ -224,7 +224,7 @@ resource functionApp 'Microsoft.Web/sites@2023-12-01' = {
}
resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' = {
- name: replace(prefix, '-', '')
+ name: replace(toLower(prefix), '-', '')
location: location
tags: tags
sku: {
@@ -273,7 +273,7 @@ resource publicBlob 'Microsoft.Storage/storageAccounts/blobServices/containers@2
resource functionAppBlob 'Microsoft.Storage/storageAccounts/blobServices/containers@2023-05-01' = {
parent: blobService
- name: functionAppName
+ name: toLower(functionAppName)
}
// Contributor