Skip to content

Commit

Permalink
build: Boolean only accepting a false is causing bicep ERROR in CI (#851
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ross-p-smith authored May 8, 2024
1 parent e755928 commit e41a78a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,7 @@ param azureSearchTitleColumn string = 'title'
@description('Url column')
param azureSearchUrlColumn string = 'url'

@description('Use Azure Search Integrated Vectorization (Not yet implemented)')
@allowed([
false
])
@description('Use Azure Search Integrated Vectorization')
param azureSearchUseIntegratedVectorization bool = false

@description('Name of Azure OpenAI Resource')
Expand Down
7 changes: 2 additions & 5 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.26.170.59819",
"templateHash": "13417848583364624457"
"templateHash": "4288468819912019537"
}
},
"parameters": {
Expand Down Expand Up @@ -172,11 +172,8 @@
"azureSearchUseIntegratedVectorization": {
"type": "bool",
"defaultValue": false,
"allowedValues": [
false
],
"metadata": {
"description": "Use Azure Search Integrated Vectorization (Not yet implemented)"
"description": "Use Azure Search Integrated Vectorization"
}
},
"azureOpenAIResourceName": {
Expand Down

0 comments on commit e41a78a

Please sign in to comment.