Skip to content

Commit

Permalink
trigger arm rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
crpietschmann committed Mar 12, 2024
1 parent 2b8efb4 commit 45b8918
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 163 deletions.
52 changes: 1 addition & 51 deletions IaC/ARM/v1/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,51 +1 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.25.53.49325",
"templateHash": "3034798151611343286"
}
},
"parameters": {
"resourcePrefix": {
"type": "string",
"defaultValue": "b59-eus2-aichatui"
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]"
},
"azureOpenAISku": {
"type": "string",
"defaultValue": "S0"
}
},
"variables": {
"resourceTags": {
"project": "https://github.com/build5nines/AIChatUI"
}
},
"resources": [
{
"type": "Microsoft.CognitiveServices/accounts",
"apiVersion": "2023-10-01-preview",
"name": "[format('{0}-oai', parameters('resourcePrefix'))]",
"location": "[parameters('location')]",
"tags": "[variables('resourceTags')]",
"kind": "OpenAI",
"sku": {
"name": "[parameters('azureOpenAISku')]"
},
"properties": {
"networkAcls": {
"defaultAction": "Allow",
"virtualNetworkRules": [],
"ipRules": []
},
"publicNetworkAccess": "Enabled"
}
}
]
}
let's rebuild
113 changes: 1 addition & 112 deletions IaC/ARM/v2/azuredeploy.json
Original file line number Diff line number Diff line change
@@ -1,112 +1 @@
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.25.53.49325",
"templateHash": "4492116795544301451"
}
},
"parameters": {
"resourcePrefix": {
"type": "string",
"defaultValue": "b59-eus2-aichatui"
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]"
},
"azureOpenAISku": {
"type": "string",
"defaultValue": "S0"
},
"azureSearchSku": {
"type": "string",
"defaultValue": "standard"
},
"azureStorageSku": {
"type": "string",
"defaultValue": "Standard_LRS"
}
},
"variables": {
"resourceTags": {
"project": "https://github.com/build5nines/AIChatUI"
},
"resourcePrefix_for_storage": "[replace(parameters('resourcePrefix'), '-', '')]"
},
"resources": [
{
"type": "Microsoft.CognitiveServices/accounts",
"apiVersion": "2023-10-01-preview",
"name": "[format('{0}-oai', parameters('resourcePrefix'))]",
"location": "[parameters('location')]",
"tags": "[variables('resourceTags')]",
"kind": "OpenAI",
"sku": {
"name": "[parameters('azureOpenAISku')]"
},
"properties": {
"networkAcls": {
"defaultAction": "Allow",
"virtualNetworkRules": [],
"ipRules": []
},
"publicNetworkAccess": "Enabled"
}
},
{
"type": "Microsoft.Search/searchServices",
"apiVersion": "2023-11-01",
"name": "[format('{0}-search', parameters('resourcePrefix'))]",
"location": "[parameters('location')]",
"tags": "[variables('resourceTags')]",
"sku": {
"name": "[parameters('azureSearchSku')]"
},
"properties": {
"replicaCount": 1,
"partitionCount": 1,
"hostingMode": "default",
"publicNetworkAccess": "enabled",
"networkRuleSet": {
"ipRules": []
},
"encryptionWithCmk": {
"enforcement": "Unspecified"
},
"disableLocalAuth": false,
"authOptions": {
"apiKeyOnly": {}
},
"semanticSearch": "disabled"
}
},
{
"type": "Microsoft.Storage/storageAccounts",
"apiVersion": "2023-01-01",
"name": "[format('{0}sa', variables('resourcePrefix_for_storage'))]",
"location": "[parameters('location')]",
"tags": "[variables('resourceTags')]",
"sku": {
"name": "[parameters('azureStorageSku')]"
},
"kind": "StorageV2",
"properties": {
"publicNetworkAccess": "Enabled",
"minimumTlsVersion": "TLS1_2",
"allowBlobPublicAccess": false,
"allowSharedKeyAccess": true,
"networkAcls": {
"bypass": "AzureServices",
"virtualNetworkRules": [],
"ipRules": [],
"defaultAction": "Allow"
},
"supportsHttpsTrafficOnly": true,
"accessTier": "Hot"
}
}
]
}
let's rebuild
1 change: 1 addition & 0 deletions IaC/Bicep/v2/deploy.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var resourceTags = {

var resourcePrefix_for_storage = replace(resourcePrefix, '-', '')


resource azureopenai 'Microsoft.CognitiveServices/accounts@2023-10-01-preview' = {
name: '${resourcePrefix}-oai'
location: location
Expand Down

0 comments on commit 45b8918

Please sign in to comment.