Skip to content

Commit a117f84

Browse files
committed
adding main.parm
1 parent 2e94adb commit a117f84

1 file changed

Lines changed: 59 additions & 0 deletions

File tree

infra/main.parameters.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
3+
"contentVersion": "1.0.0.0",
4+
"parameters": {
5+
"environmentName": {
6+
"value": "${AZURE_ENV_NAME}"
7+
},
8+
"location": {
9+
"value": "${AZURE_LOCATION}"
10+
},
11+
"backendExists": {
12+
"value": "${SERVICE_BACKEND_RESOURCE_EXISTS=false}"
13+
},
14+
"backendDefinition": {
15+
"value": {
16+
"settings": [
17+
{
18+
"name": "",
19+
"value": "${VAR}",
20+
"_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.",
21+
"_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR} to use the value of 'VAR' from the current environment."
22+
},
23+
{
24+
"name": "",
25+
"value": "${VAR_S}",
26+
"secret": true,
27+
"_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.",
28+
"_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR_S} to use the value of 'VAR_S' from the current environment."
29+
}
30+
]
31+
}
32+
},
33+
"frontendExists": {
34+
"value": "${SERVICE_FRONTEND_RESOURCE_EXISTS=false}"
35+
},
36+
"frontendDefinition": {
37+
"value": {
38+
"settings": [
39+
{
40+
"name": "",
41+
"value": "${VAR}",
42+
"_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.",
43+
"_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR} to use the value of 'VAR' from the current environment."
44+
},
45+
{
46+
"name": "",
47+
"value": "${VAR_S}",
48+
"secret": true,
49+
"_comment_name": "The name of the environment variable when running in Azure. If empty, ignored.",
50+
"_comment_value": "The value to provide. This can be a fixed literal, or an expression like ${VAR_S} to use the value of 'VAR_S' from the current environment."
51+
}
52+
]
53+
}
54+
},
55+
"principalId": {
56+
"value": "${AZURE_PRINCIPAL_ID}"
57+
}
58+
}
59+
}

0 commit comments

Comments
 (0)