|
5 | 5 | "_generator": {
|
6 | 6 | "name": "bicep",
|
7 | 7 | "version": "0.33.93.31351",
|
8 |
| - "templateHash": "17465000776634471517" |
| 8 | + "templateHash": "4845784968033668710" |
9 | 9 | }
|
10 | 10 | },
|
11 | 11 | "parameters": {
|
|
15 | 15 | "description": "Prefix for all resources created by this template. This prefix will be used to create unique names for all resources. The prefix must be unique within the resource group."
|
16 | 16 | }
|
17 | 17 | },
|
18 |
| - "Authorization": { |
19 |
| - "type": "bool", |
20 |
| - "defaultValue": false, |
21 |
| - "metadata": { |
22 |
| - "description": "Authorization requires permission to create an app identity in the subscription. See readme for details." |
23 |
| - } |
24 |
| - }, |
25 | 18 | "AiLocation": {
|
26 | 19 | "type": "string",
|
27 | 20 | "allowedValues": [
|
|
69 | 62 | "variables": {
|
70 | 63 | "randomSuffix": "[substring(parameters('environmentName'), 0, min(10, length(parameters('environmentName'))))]",
|
71 | 64 | "finalName": "[format('{0}-{1}', parameters('ResourcePrefix'), variables('randomSuffix'))]",
|
72 |
| - "backEndVersion": "[if(parameters('Authorization'), 'rcauth', 'rcnoauth')]", |
73 |
| - "frontEndVersion": "[if(parameters('Authorization'), 'rcauth', 'rcnoauth')]", |
| 65 | + "imageVersion": "rc1", |
74 | 66 | "location": "[resourceGroup().location]",
|
75 | 67 | "dblocation": "[resourceGroup().location]",
|
76 | 68 | "cosmosdbDatabase": "cmsadb",
|
|
170 | 162 | "containers": [
|
171 | 163 | {
|
172 | 164 | "name": "cmsabackend",
|
173 |
| - "image": "[format('cmsacontainerreg.azurecr.io/cmsabackend:{0}', variables('backEndVersion'))]", |
| 165 | + "image": "[format('cmsacontainerreg.azurecr.io/cmsabackend:{0}', variables('imageVersion'))]", |
174 | 166 | "env": [
|
175 | 167 | {
|
176 | 168 | "name": "COSMOSDB_ENDPOINT",
|
|
5426 | 5418 | "value": "[format('https://{0}', reference(resourceId('Microsoft.App/containerApps', toLower(format('{0}containerBackend', variables('prefixCleaned')))), '2023-05-01').configuration.ingress.fqdn)]"
|
5427 | 5419 | }
|
5428 | 5420 | ],
|
5429 |
| - "image": "[format('cmsacontainerreg.azurecr.io/cmsafrontend:{0}', variables('frontEndVersion'))]", |
| 5421 | + "image": "[format('cmsacontainerreg.azurecr.io/cmsafrontend:{0}', variables('imageVersion'))]", |
5430 | 5422 | "name": "cmsafrontend",
|
5431 | 5423 | "resources": {
|
5432 | 5424 | "cpu": "1",
|
|
0 commit comments