Skip to content

Commit

Permalink
fix template https issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thivy committed Aug 7, 2023
1 parent cafd3c0 commit 40cee8c
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions infra/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,50 +4,50 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.18.4.5664",
"templateHash": "1227993760546987884"
"version": "0.20.4.51522",
"templateHash": "1312349874459244269"
}
},
"parameters": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Name of the the environment which is used to generate a short unique hash used in all resources."
},
"maxLength": 64,
"minLength": 1
}
},
"openaiApiKey": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Azure OpenAI API Key"
},
"maxLength": 64,
"minLength": 1
}
},
"openaiInstanceName": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Azure OpenAI Instance Name e.g. my-openai-instance"
},
"maxLength": 64,
"minLength": 1
}
},
"openaiDeploymentName": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Azure OpenAI Deployment Name e.g. gpt3-turbo"
},
"maxLength": 64,
"minLength": 1
}
},
"openaiApiVersion": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"metadata": {
"description": "Azure OpenAI API Version e.g. 2021-08-04-preview"
},
"maxLength": 64,
"minLength": 1
}
}
},
"variables": {
Expand Down Expand Up @@ -89,8 +89,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.18.4.5664",
"templateHash": "4144097780865821807"
"version": "0.20.4.51522",
"templateHash": "12118655429845196874"
}
},
"parameters": {
Expand Down Expand Up @@ -176,7 +176,7 @@
},
{
"name": "NEXTAUTH_URL",
"value": "[format('{0}-app-{1}.azurewebsites.net', parameters('name'), parameters('resourceToken'))]"
"value": "[format('https://{0}-app-{1}.azurewebsites.net', parameters('name'), parameters('resourceToken'))]"
}
]
}
Expand Down Expand Up @@ -207,4 +207,4 @@
}
}
]
}
}

0 comments on commit 40cee8c

Please sign in to comment.