Skip to content

Commit 75f783d

Browse files
committed
Use unquoted Bicep property names
1 parent 06fa369 commit 75f783d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cli/azd/resources/scaffold/templates/resources.bicept

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ module {{bicepName .Name}} 'br/public:avm/res/web/site:0.15.1' = {
791791
appSettingsKeyValuePairs: {
792792
AZURE_CLIENT_ID: {{bicepName .Name}}Identity.outputs.clientId
793793
{{- if .DbCosmosMongo}}
794-
'MONGODB_URL': '@Microsoft.KeyVault(SecretUri=${cosmosMongo.outputs.exportedSecrets['mongodb-url'].secretUri})'
794+
MONGODB_URL: '@Microsoft.KeyVault(SecretUri=${cosmosMongo.outputs.exportedSecrets['mongodb-url'].secretUri})'
795795
{{- end}}
796796
{{- if .DbCosmos}}
797797
AZURE_COSMOS_ENDPOINT: cosmos.outputs.endpoint
@@ -844,13 +844,11 @@ module {{bicepName .Name}} 'br/public:avm/res/web/site:0.15.1' = {
844844
{{- if .AiFoundryProject }}
845845
AZURE_AI_PROJECT_CONNECTION_STRING: aiFoundryProjectConnectionString
846846
{{- end}}
847-
848847
{{- if .Frontend}}
849848
{{- range $i, $e := .Frontend.Backends}}
850849
{{upper .Name}}_BASE_URL: {{.Name}}.outputs.defaultHostname
851850
{{- end}}
852851
{{- end}}
853-
854852
{{- if ne .Port 0}}
855853
PORT: '{{ .Port }}'
856854
{{- end}}

0 commit comments

Comments
 (0)