Skip to content

Commit bbaeac8

Browse files
committed
Case for key being empty
1 parent 404914c commit bbaeac8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

infra/main.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ module web 'web.bicep' = {
242242
}
243243
]
244244
secrets: {
245-
'azure-openai-key': azureOpenAIKey
245+
'azure-openai-key': empty(azureOpenAIKey) ? 'no-key-provided' : azureOpenAIKey
246246
}
247247
}
248248
}

0 commit comments

Comments
 (0)